Provides a resource to create a group in an Okta auth backend within Vault.
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"]
}
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
group_name
- (Required) Name of the group within the Okta
policies
- (Optional) Vault policies to associate with this group
No additional attributes are exposed by this resource.
Okta authentication backend groups can be imported using the format backend/groupName
e.g.
$ terraform import vault_okta_auth_backend_group.foo okta/foo