» vault_okta_auth_backend_group

Provides a resource to create a group in an Okta auth backend within Vault.

» Example Usage

resource "vault_okta_auth_backend" "example" {
    path         = "group_okta"
    organization = "dummy"

resource "vault_okta_auth_backend_group" "foo" {
    path       = "${vault_okta_auth_backend.example.path}"
    group_name = "foo"
    policies   = ["one", "two"]

» Argument Reference

The following arguments are supported:

  • path - (Required) The path where the Okta auth backend is mounted

  • group_name - (Required) Name of the group within the Okta

  • policies - (Optional) Vault policies to associate with this group

» Attributes Reference

No additional attributes are exposed by this resource.

» Import

Okta authentication backend groups can be imported using the format backend/groupName e.g.

$ terraform import vault_okta_auth_backend_group.foo okta/foo