mirror of
https://github.com/hanzokms/terraform-provider.git
synced 2026-10-30 20:29:45 +00:00
1.3 KiB
1.3 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| kms_groups Data Source - terraform-provider | Groups | Interact with Hanzo KMS groups in your organization. |
kms_groups (Data Source)
Interact with Hanzo KMS groups in your organization.
Example Usage
terraform {
required_providers {
kms = {
# version = <latest version>
source = "hanzokms/kms"
}
}
}
provider "kms" {
host = "https://kms.hanzo.ai" # Only required if using self hosted instance of Hanzo KMS, default is https://kms.hanzo.ai
auth = {
universal = {
client_id = "<machine-identity-client-id>"
client_secret = "<machine-identity-client-secret>"
}
}
}
data "kms_groups" "groups" {
}
output "org-groups" {
value = data.kms_groups.groups
}
Schema
Read-Only
groups(Attributes List) The groups list (see below for nested schema)
Nested Schema for groups
Read-Only:
id(String) The ID of the groupname(String) The name of the grouporg_id(String) The organization ID of the grouprole(String) The role of the group in the organizationrole_id(String) The role ID of the group in the organization