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

Okta User

Attributes Reference

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

Import

Okta authentication backends can be imported using its path, e.g.

$ terraform import vault_okta_auth_backend.example okta