InfraDots logo
Documentation

Organizations

Organizations are the top-level entities that help you organize your infrastructure resources.

What is an Organization?

An organization in InfraDots Platform is the over arching structure that holds all your infrastructure code and components. Depending on the structure of your company and processes you may chose one of several routes:

Organization selection

  • One organization for all infrastructure in your company - the default way to set it up
  • Organization per environment - for large environments where separation of concerns can't be handled via workspaces
  • Multiple org setup for service providers - when you provide services to multiple companies and need separation and IAM management on the organization level

Managing Organizations

Creating an Organization Create Organization A default organization is created once you create an account and go through the steps. If you are on Growth or Enterprise you may create more than 1 organization

  1. Navigate to the Home page
  2. Click "Create Organization"
  3. Enter a unique name for your organization
  4. Select your preferred execution mode (Remote or Local)
  5. Click "Create"

Managing Members

  1. Go to your organization's settings
  2. Select the "Members" tab
  3. Add members by email address
  4. Assign appropriate permissions to each member

Team management

Team permissions are configured at a granular level per team, controlling access to organizations, workspaces, VCS settings, and billing. A member holds every permission of the teams they belong to, and the members of a team that administers the organization are its administrators.

Team permissions

What each workspace, state and agent permission allows:

  • read_workspaces — see workspaces.
  • write_workspaces — create, change or delete variables, variable sets and their workspace assignments, and run schedules; bootstrap a workspace; lock and unlock a workspace, upload a configuration and start a run through the Terraform/OpenTofu cloud backend. Running terraform plan or apply against InfraDots needs it.
  • read_state — download a workspace's state versions and read its outputs.
  • write_state — upload a new state version.
  • write_agents — add, change or delete the organization's agent skills, skill packages and reviewer guidance, including guidance saved with Implement changes. Every member can read them. Members who held write_organizations when it was introduced were given it.

A member without the permission gets 403 Forbidden. Team API tokens carry the team's permissions.

Organization Settings

  • Tags: Key-value pairs that describe the organization, under Settings → Tags. Up to 50; a key is up to 63 letters, digits, _, ., :, / or - and is unique regardless of case; a value is text of up to 255 characters. Changing them needs the organization write permission, held directly or through a team. Workspaces carry their own tags.
  • Execution Mode: Set the default execution mode for all workspaces in the organization
  • Subscription: View and manage your subscription details for the InfraDots platform.
  • Variables: Manage organization wide terraform and environmental variables

Administrators

An organization administrator holds every permission, billing included, whatever their permission rows say. A user is an administrator directly, or through a team that administers the organization. Whoever creates the organization starts as its administrator.

  • Users: under Settings → Users, administrators carry an Administrator tag. Open a user and switch Organization administrator on or off. While it is on, the permission checkboxes are disabled, because they change nothing.
  • Teams: the same switch is under Settings → Teams when you create or edit a team. A team's members and its team API tokens are administrators while it is on. Switching it off keeps only the permissions ticked below it.
  • Changing either needs the organization write permission.
  • An organization always keeps at least one administrator user or team. InfraDots refuses (400) to switch off, remove or delete the last one. Make someone else an administrator first.
  • Removing a member also removes their administrator rights, so inviting them again adds a plain member.

In Terraform, set organization_admin on infradots_user or infradots_team. See Terraform Provider.

Single sign-on

Single sign-on lets your people sign in to InfraDots through your identity provider (IdP) such as Okta, Microsoft Entra ID, Google Workspace or Keycloak, over SAML 2.0 or OpenID Connect (OIDC). People are created on their first sign-in. Configure it under Settings → Single sign-on, which needs the organization write permission.

An organization uses one protocol at a time. Pick it with Protocol (SAML or OIDC). Switching keeps the other protocol's settings, so you can switch back without entering them again. Domains, enforcement, the default team and group sync work the same for both.

Set up your IdP (SAML)

  1. Open Settings → Single sign-on and choose SAML. It shows three values for your IdP: the entity ID, the ACS URL and the metadata URL. Create a SAML application in your IdP with them, or give it the metadata URL if it can import one.
  2. Send the user's email address as the NameID (email format) or as an email attribute.
  3. Copy three values from your IdP back into the settings: its entity ID, its SSO URL and its signing certificate (X.509, PEM).
  4. Turn on Enabled and save. Saving is refused if the certificate is not valid, or if enabled without all three values.

Set up your IdP (OIDC)

  1. Open Settings → Single sign-on and choose OIDC. It shows the Redirect URI. Create an OIDC web application (a confidential client, authorization code flow) in your IdP with it as the sign-in redirect URI.
  2. Copy three values from your IdP back into the settings: its issuer URL, the application's client ID and its client secret.
  3. Turn on Enabled and save. InfraDots reads the IdP's endpoints from <issuer>/.well-known/openid-configuration; saving is refused if that document cannot be read, if the issuer it names is a different one, or if enabled without all three values.

The client secret is stored encrypted and is never shown again. Leave the field empty to keep the stored secret; type a new one to replace it.

InfraDots requests the scopes in Scopes (default openid email profile) and reads the email and name claims from the ID token, or from the userinfo endpoint when the ID token lacks them. An email_verified claim of false is refused. The issuer must be your own tenant: for Microsoft Entra ID that is https://login.microsoftonline.com/<tenant id>/v2.0, not the common endpoint.

Verify a domain

An assertion is accepted only for an email address on a domain your organization has verified. Without this, any organization could configure an IdP that claims someone else's address.

  1. In Settings → Single sign-on → Domains, add your domain, for example example.com.
  2. Create the TXT record shown there, with the record name (_infradots-verify.<domain>) and value from the settings, at your DNS provider.
  3. Click Verify. Until the record is found the domain stays unverified; TXT record not found means DNS has not caught up yet.

A domain verified by one organization cannot be added to another. Only emails on a verified domain can sign in through SSO.

Sign in

Sign-in starts at InfraDots, not at your IdP: IdP-initiated sign-in (clicking the InfraDots tile in your IdP dashboard) is not supported.

  1. Open the InfraDots login page and choose Sign in with SSO.
  2. Enter your work email. InfraDots finds the organization that owns the domain and sends you to its IdP.
  3. After you authenticate there, you return to InfraDots signed in. Your IdP does the multi-factor check, so InfraDots does not ask for a second factor.

If the domain has no SSO configured, the page says Single sign-on isn't set up for this email domain. A person who already has an InfraDots account is added to the organization on sign-in; a new person gets an account. Everyone who signs in through SSO joins the default team, if one is set.

Require SSO

Enforce SSO refuses password, Google and GitHub sign-in for every email on your verified domains. The login page answers Your organization requires single sign-on. and offers the SSO sign-in instead. It can be turned on only while Enabled is on. Existing API, user and team tokens keep working.

Group sync

Group sync is off by default. While it is off, group claims are ignored and only the default team applies.

When you turn on Sync groups, every group in the SAML assertion's groups attribute, or the OIDC ID token's groups claim, becomes a team of that name in your organization. The name is configurable (Group attribute / claim).

  • On every sign-in the person is added to the teams for their current groups, and removed from SSO-managed teams for groups they no longer have.
  • Teams that sync creates are marked SSO-managed and have no permissions: grant them in Settings → Teams.
  • A team you created by hand with the same name is joined, not duplicated, and stays manual. Manual teams are never pruned by sync, and sync never adds anyone to a team that administers the organization.
  • Groups with an empty name or longer than 150 characters are skipped.

For OIDC, Group attribute / claim names the ID token claim, groups by default. Okta custom authorization servers send it only when the groups scope is requested: add groups to Scopes. Microsoft Entra ID replaces the claim with a link to Microsoft Graph when a person is in more than 200 groups; InfraDots does not follow that link and syncs no groups for that sign-in.

Microsoft Entra ID sends group object IDs by default. Configure the group claim to send group names (the cloud group name or sAMAccountName option), or your teams are named after GUIDs.

Removing people

In an organization with single sign-on enabled, removing someone from the organization (Settings → Users) revokes their access to it at once. That includes any admin rights, its teams and their permissions. Their InfraDots session and tokens stay valid until they expire, but no longer reach this organization; their other organizations are unaffected.

Removing someone only in your IdP stops new sign-ins. It does not remove them from InfraDots, so remove them in Settings as well.