An organization's UIDP and its "group ID" are the same value: a 40-character hex string that identifies the organization. (Strictly, a UIDP is a UID Path, a /-delimited hierarchical identifier; the 40-character string is the root organization group's UID, which is also its UIDP. Nested identities have longer paths.)
- Your organization name is your verified domain, for example example.com.
- List your organizations and read the ID:
chainctl iam organizations list -o table
The ID column is your organization UIDP and group ID. To extract it by domain:
chainctl iam organizations list -o json | jq -r '.items[] | select(.name=="example.com") | .id'
- Describe one organization:
chainctl iam organizations describe [NAME|ID] -o json - List sub-groups (folders):
chainctl iam folders list <NAME|ID> - In the Console, the value appears under Settings as "Organization UID".
To list groups through the API:
curl -sSf -H "Authorization: Bearer $(chainctl auth token)" 'https://console-api.enforce.dev/iam/v1/groups'
Comments
0 comments
Article is closed for comments.