You can import existing identity provider (IdP) groups into Astronomer Software as Teams, which are groups of Astronomer users that have the same set of permissions for a specific Workspace or Deployment. Configuring Teams lets you quickly onboard staff to Astronomer and provides better control of user permissions. Astronomer Teams function similar to users. You can:Documentation Index
Fetch the complete documentation index at: https://astronomer-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Assign Teams to both Workspaces and Deployments.
- Assign Viewer, Editor, or Admin roles to a Team.
- View information about users and permissions from the Astronomer UI.
Implementation considerations
Before you implement Teams, consider the following:- By default, the first user to log in to your Astronomer platform is automatically granted
SYSTEM ADMINpermissions. If you are configuring Teams for a new Astronomer installation, we recommend first logging in as the user who will be responsible for importing your IdP groups using Astronomer’s default login flow. - Teams are based solely on the IdP group they were configured from, meaning that you cannot configure Team membership from Astronomer.
- To remove a Team from your Software installation, you have to delete it from the Astronomer Software UI or the Houston 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 third party identity provider. See Integrate an auth system.
- System Admin permissions for configuring the feature.
- Workspace or Deployment Admin permissions for managing Teams.
- An OAuth authorization code flow. See Configure a custom OAuth flow.
- An IdP group.
Step 1: Enable Astronomer Teams
In yourvalues.yaml file, set the following value.
Step 2: Add a group claim to your IdP group
To add your IdP group to Astronomer as a Team, Astronomer needs to be able to recognize the IdP group through a group claim and assign members from the group through tokens. If you haven’t already, add group claims to the IdP groups that you’re importing to Astronomer through your configured third party identity provider. Refer to your IdP’s documentation for information on how to complete this step. For example, for Okta you can refer to Customize tokens returned from Okta with a Groups claim. By default, Astronomer assumes that the name of your group claim isgroups. If you named your group claim something other than groups, complete the following setup:
- In your
values.yamlfile, sethouston.config.auth.openidConnect.<idp-provider>.claimsMappingto the custom name of your group claim. - Save this configuration and push it to your platform. See Apply a Platform Config Change.
Step 3: Add Teams to Workspaces and Deployments
- In the Software UI, open the System Admin menu, then click Teams.
- Click Create Team.
- Give the team a name and a description, choose the Provider that you use for your IdP, and add users to your Team.
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 is not available, you don’t have to wait for a user to log in to Astronomer Software 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 Software 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 Astronomer Software, add the following entry to yourvalues.yaml file: