» vault_okta_auth_backend

Provides a resource for managing an Okta auth backend within Vault.

» Example Usage

resource "vault_okta_auth_backend" "example" {
    description  = "Demonstration of the Terraform Okta auth backend"
    organization = "example"
    token        = "something that should be kept secret"

    group {
        group_name = "foo"
        policies   = ["one", "two"]
    }

    user {
        username = "bar"
        groups   = ["foo"]
    }
}

» Argument Reference

The following arguments are supported:

» Okta Group

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

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

» Okta User

  • username - (Required Optional) Name of the user within Okta

  • groups - (Optional) List of Okta groups to associate with this user

  • policies - (Optional) List of Vault policies to associate with this user

» Attributes Reference

In addition to all arguments above, the following attributes are exported: