atmos auth
Atmos Auth gives you a single, consistent way to authenticate with multiple cloud providers. It supports SAML, SSO, OIDC, GitHub Actions, and static user identities. By consolidating these flows into one system, you no longer need to juggle separate tools or browser plugins, just to try to login. And because it's built into Atmos, it works seamlessly with stacks, components, workflows, shells, and even custom commands.
Configure Authentication
Learn how to configure providers, identities, keyring, and credential storage in your atmos.yaml.
Usage
Examples
# Validate configuration
atmos auth validate
# Authenticate with the default identity
atmos auth login
# Authenticate with a specific identity
atmos auth login --identity admin
# Print environment variables in JSON
atmos auth env --format json
# Execute a command with authentication context
atmos auth exec -- terraform plan
# Show current authentication status
atmos auth whoami
# Open cloud console in browser
atmos auth console
# Start a shell with authentication
atmos auth shell
Flags
--identity(alias-i)Specify the identity to use for authentication. Can be:
- An identity name (e.g.,
--identity admin) - Empty for interactive selection (e.g.,
--identity) falseto disable authentication (e.g.,--identity=false)
When set to
false, Atmos skips identity authentication and uses standard cloud provider credential resolution.- An identity name (e.g.,
Subcommands
📄️ console
Open cloud provider web console in your default browser using authenticated credentials.
📄️ env
Export temporary cloud credentials as environment variables for the selected identity.
📄️ exec
Execute a command with authentication environment variables set for the selected identity.
📄️ list
List all configured authentication providers and identities with their relationships and chains.
📄️ login
Authenticate to cloud providers using an identity defined in atmos.yaml.
📄️ logout
Remove locally cached credentials and session data
📄️ shell
Launch an interactive shell with authentication environment variables configured for the selected identity.
🗃️ user
1 item