vault_aws_auth_backend_config_identity

Manages an AWS auth backend identity configuration in a Vault server. This configuration defines how Vault interacts with the identity store. See the Vault documentation for more information.

Example Usage

resource "vault_auth_backend" "aws" {
  type = "aws"
}

resource "vault_aws_auth_backend_config_identity" "example" {
  backend      = vault_auth_backend.aws.path
  iam_alias    = "full_arn"
  iam_metadata = ["canonical_arn", "account_id"]
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

AWS auth backend identity config can be imported using auth/, the backend path, and /config/identity e.g.

$ terraform import vault_aws_auth_backend_role.example auth/aws/config/identity