Difference between revisions of "Terraform resource: aws iam access key"
Jump to navigation
Jump to search
↑ https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_access_key#secret
Line 9: | Line 9: | ||
resource "aws_iam_access_key" "your_lb" { | resource "aws_iam_access_key" "your_lb" { | ||
user = aws_iam_user.lb.name | user = aws_iam_user.lb.name | ||
− | secret = XXX | + | secret<ref>https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_access_key#secret</ref> = XXX |
} | } | ||
Revision as of 12:32, 4 March 2022
Examples:
resource "aws_iam_access_key" "your_lb" { user = aws_iam_user.lb.name pgp_key = "keybase:some_person_that_exists" }
resource "aws_iam_access_key" "your_lb" { user = aws_iam_user.lb.name secret[1] = XXX }
See also
- Terraform IAM resources:
aws_iam_user, aws_iam_group, aws_iam_role, aws_iam_role_policy_attachment
,aws_iam_policy
,aws_iam_role_policy, aws_iam_user_policy, aws_iam_user_policy_attachment
,aws_iam_access_key, aws_iam_group_policy, aws_iam_group_policy_attachment, aws_iam_openid_connect_provider
Advertising: