Vault: Creates the Vault AWS IAM role to interact with the IAM role in your AWS account.
Usage
aws_create_iam_role(
url = NULL,
token = NULL,
auth_type = "iam",
role_name = NULL,
bound_iam_principal_arn = NULL,
policies = NULL
)
Arguments
- url
URL of the HashiCorp Vault instance.
- token
token from user/github/approle/etc.... registered in Vault.
- auth_type
authentication type for the role you are creating e.g. iam.
- role_name
name of the role you are creating.
- bound_iam_principal_arn
arn of the iam role that you created in AWS.
- policies
policy or a list of policies in Vault to associate the IAM role with.
Details
This function creates the Vault AWS IAM Role and associates it with the IAM Role that has already been created in AWS.