vault_saml_auth_backend

Manages a SAML Auth mount in a Vault server. See the Vault documentation for more information.

Example Usage

resource "vault_saml_auth_backend" "test" {
  path             = "saml"
  idp_metadata_url = "https://company.okta.com/app/abc123eb9xnIfzlaf697/sso/saml/metadata"
  entity_id        = "https://my.vault/v1/auth/saml"
  acs_urls         = ["https://my.vault.primary/v1/auth/saml/callback"]
  default_role     = "admin"
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

SAML authentication mounts can be imported using the path, e.g.

$ terraform import vault_saml_auth_backend.example saml