Creates an Identity Entity Alias for Vault.
resource "vault_identity_entity_alias" "test" {
name = "user_1"
mount_accessor = "token_1f2bd5"
canonical_id = "49877D63-07AD-4B85-BDA8-B61626C477E8"
}
The following arguments are supported:
namespace
- (Optional) The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespace
is always relative to the provider's configured namespace.
Available only for Vault Enterprise.
name
- (Required) Name of the alias. Name should be the identifier of the client in the authentication source. For example, if the alias belongs to userpass backend, the name should be a valid username within userpass backend. If alias belongs to GitHub, it should be the GitHub username.
mount_accessor
- (Required) Accessor of the mount to which the alias should belong to.
canonical_id
- (Required) Entity ID to which this alias belongs to.
id
- ID of the entity alias.Identity entity alias can be imported using the id
, e.g.
$ terraform import vault_identity_entity_alias.test "3856fb4d-3c91-dcaf-2401-68f446796bfb"