» vault_identity_entity

Creates an Identity Entity for Vault. The Identity secrets engine is the identity management solution for Vault. It internally maintains the clients who are recognized by Vault.

» Example Usage

resource "vault_identity_entity" "test" {
  name      = "tester1"
  policies  = ["test"]
  metadata  = {
    foo = "bar"
  }
}

» Argument Reference

The following arguments are supported:

  • name - (Required) Name of the identity entity to create.

  • policies - (Optional) A list of policies to apply to the entity.

  • metadata - (Optional) A Map of additional metadata to associate with the user.

  • disabled - (Optional) True/false Is this entity currently disabled. Defaults to false

  • external_policies - (Optional) false by default. If set to true, this resource will ignore any policies return from Vault or specified in the resource. You can use vault_identity_entity_policies to manage policies for this entity in a decoupled manner.

» Attributes Reference

  • id - The id of the created entity.