- Assign Teams to both Workspaces and Deployments.
- Assign Viewer, Editor, or Admin roles to a Team.
- View information about users and permissions from the UI.
Implementation considerations
Before you implement Teams, consider the following:- By default, the first user to sign in to your Astronomer platform is automatically granted
SYSTEM ADMINpermissions. If you configure Teams for a new Astronomer installation, Astronomer recommends signing in first as the user responsible for importing your IdP groups using the default Astronomer sign-in flow. - Teams are based solely on the IdP group they are configured from, which means that you can’t configure Team membership from Astronomer.
- To remove a Team from your installation, you have to delete it from the Astro Private Cloud UI or the APC API. Deleting an IdP group from your IdP UI doesn’t automatically delete the associated Team.
- If a user is added or removed from your original IdP group, that change applies to the related Astronomer Team only after the user logs back in to Astronomer.
Prerequisites
To complete this setup, you need:- A configured identity provider — an OIDC provider integrated through Integrate an auth system, or an LDAP directory integrated through Configure LDAP authentication.
- System Admin permissions for configuring the feature.
- Workspace or Deployment Admin permissions for managing Teams.
- For OIDC providers only: an OAuth authorization code flow. See Configure a custom OAuth flow. LDAP doesn’t use OAuth; groups are resolved through LDAP queries at each sign-in.
- An IdP group (OIDC) or a directory group (LDAP).
Step 1: Enable APC Teams
Add the following values to yourvalues.yaml file. The exact shape depends on whether you provision Teams from an OIDC provider or from an LDAP directory. Save the configuration and push it to your platform as described in Apply a Platform Config Change.
- OIDC
- LDAP (OpenLDAP)
- LDAP (Active Directory)
The
auth.ldap.groups.teamFilterRegex field is applied only to LDAP-resolved groups. It has no effect on OIDC-provisioned Teams, which use auth.openidConnect.teamFilterRegex — the two filters are independent. For the full LDAP-specific behavior see Configure LDAP authentication.Step 2: Add a group claim to your IdP group (OIDC only)
This step applies only when you provision Teams from an OIDC identity provider. LDAP directories don’t use token-based group claims — Houston resolves LDAP groups through a direct LDAP query on every sign-in based on the
auth.ldap.groups.* configuration you set in Step 1. Skip to Step 3 if you provision Teams from LDAP.Step 3: Add Teams to Workspaces and Deployments
After you complete Step 1, Astro Private Cloud provisions Teams automatically the first time an eligible user signs in:- OIDC: Houston reads the group claim from the user’s OIDC token and creates one Team per matching group, tagged with the OIDC provider name (for example,
google,microsoft,okta). - LDAP: Houston resolves the user’s directory groups according to the
auth.ldap.groups.nestedGroupsmode you set in Step 1 and creates one Team per resolved group, tagged withprovider='ldap'. See Configure LDAP authentication for the resolution modes.
You can use the System Admin > Teams > Create Team dialog to pre-create Teams before any group member signs in, but the Provider dropdown in that dialog lists only
local (when local Teams are enabled) and OIDC providers. LDAP doesn’t appear in the dropdown. For LDAP-provisioned Teams, wait for the first sign-in from a member of the directory group — the Team appears automatically after Houston reconciles it.Create local teams
If you want to create a Team of Astronomer users, and the team doesn’t map to a group in the IdP, you can enable local team creation. This means that if SCIM sync isn’t available, you don’t have to wait for a user to sign in to Astro Private Cloud for their IdP user groups to sync. You can instead create teams using a locally available source of users. To enable the feature, add the following configuration to yourvalues.yaml file and apply the change to your installation.
- In the UI, open the System Admin menu, then click Teams.
- Click Create Team.
- Give the team a name and a description, then select all the users that you want in the Team.
- (Optional) Grant the Team a System Level Role if the Team needs system-level permissions.
Disable individual user management
To use Teams as the only user management system on Astro Private Cloud, add the following entry to yourvalues.yaml file: