Provides a resource to create a user in an Okta auth backend within Vault.
resource "vault_okta_auth_backend" "example" {
path = "user_okta"
organization = "dummy"
}
resource "vault_okta_auth_backend_user" "foo" {
path = vault_okta_auth_backend.example.path
username = "foo"
groups = ["one", "two"]
}
The following arguments are supported:
namespace
- (Optional) The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The namespace
is always relative to the provider's configured namespace.
Available only for Vault Enterprise.
path
- (Required) The path where the Okta auth backend is mounted
username
- (Required) 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
No additional attributes are exposed by this resource.