vault_identity_oidc_scope

Manages OIDC Scopes in a Vault server. See the Vault documentation for more information.

Example Usage

resource "vault_identity_oidc_scope" "groups" {
  name        = "groups"
  template    = "{\"groups\":{{identity.entity.groups.names}}}"
  description = "Vault OIDC Groups Scope"
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

OIDC Scopes can be imported using the name, e.g.

$ terraform import vault_identity_oidc_scope.groups groups