Skip to content

IAM Group#

Creates a group in your organisation's identity provider and manages its membership.

API Details#

Field Value
API Group iam.cloud.stakater.com
Version v1
Kind Group
Scope Namespace-scoped

Spec Parameters#

All parameters are nested under spec.parameters. None is required.

The group is named after metadata.name, which is also its name in your organisation's identity provider. These names are reserved for platform access and are refused when you create the group: customer-admin, names that start with stakater-, and names that end with -cluster-admin or -stakater-admin.

spec.parameters.name is deprecated and ignored. Older claims that still set it keep working, and the group is named after metadata.name.

Optional#

Field Type Description
members string[] Usernames of the people in the group. On this platform a user's username is their email address, for example jane.doe@acmecorp.example.com. Other values, such as the deprecated username parameter of a User claim, never match. Members get every role granted to the group, including mesh and virtual machine access (SSH, RDP)
attributes object Not used. Labels stored on the group for your own records; they do not affect access and are not shown in sign-in tokens. The console does not offer this field

Status Fields#

Field Type Description
status.group.id string Group ID (uuid) assigned by the IdP
status.group.name string Confirmed group name
status.group.created boolean Whether the group was successfully created
status.group.ready boolean Whether the group is ready and accessible
status.memberships.members string[] List of members currently in the group
status.memberships.ready boolean Whether memberships are synchronised
status.conditions array Standard Kubernetes conditions

Examples#

Minimal#

apiVersion: iam.cloud.stakater.com/v1
kind: Group
metadata:
  name: engineering-team
spec:
  parameters: {}

With Members#

apiVersion: iam.cloud.stakater.com/v1
kind: Group
metadata:
  name: engineering-team
spec:
  parameters:
    members:
      - alice@acmecorp.example.com
      - bob@acmecorp.example.com
      - charlie@acmecorp.example.com

How-to Guide#

Create an IAM Group