Skip to content

[Enhancement]: allow setting entity_alias for vault_token resource #2541

@jficz

Description

@jficz

Description

Vault tokens issued through a token role can have entity_alias set normally. The vault_token resource of the provider does not have that option.

Affected Resource(s) and/or Data Source(s)

  • resource vault_token

Potential Terraform Configuration

resource "vault_token" "app1" {
  role_name = "app"
  entity_alias ="my_app"
}

References

https://developer.hashicorp.com/vault/api-docs/auth/token#create-token

Would you like to implement a fix?

No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions