Authentication
The auth section of the atmos.yaml configures how Atmos authenticates with cloud providers. It supports AWS SSO, SAML, OIDC, GitHub Actions, and static user credentials with a unified configuration model.
Quick Start
atmos.yaml
Configuration Reference
Top-Level Structure
atmos.yaml
Subpages
- Providers - Configure authentication providers (AWS SSO, SAML, GitHub OIDC)
- Identities - Configure identities and identity chaining
- Keyring - Configure credential storage backends
- Logs - Configure auth-specific logging
Disabling Authentication
In CI/CD environments, you may want to disable Atmos-managed authentication and use native cloud provider credentials.
# Via CLI flag
atmos terraform plan mycomponent --stack=dev --identity=false
# Via environment variable
export ATMOS_IDENTITY=false
atmos terraform plan mycomponent --stack=dev
Recognized disable values: false, 0, no, off (case-insensitive)
When disabled:
- Atmos skips all identity authentication
- Falls back to standard cloud provider SDK credential resolution
- Works even when
atmos.yamlhas identity configurations
Environment Variables
ATMOS_IDENTITY- Default identity name, or
falseto disable. ATMOS_KEYRING_TYPE- Keyring backend (
system,file,memory). ATMOS_KEYRING_PASSWORD- Password for file keyring.
ATMOS_XDG_CONFIG_HOME- Override config directory for AWS files.
ATMOS_XDG_DATA_HOME- Override data directory for file keyring.
Complete Example
atmos.yaml
Using Profiles
Use Atmos profiles to define different authentication configurations for various use cases:
atmos.yaml
# Activate a profile
atmos --profile dev terraform plan myapp -s dev
ATMOS_PROFILE=ci atmos terraform apply myapp -s prod
Related Commands
📄️ atmos auth login
Authenticate with a configured identity
📄️ atmos auth whoami
Show current authentication status
📄️ atmos auth validate
Validate authentication configuration
📄️ atmos auth shell
Start a shell with identity credentials
📄️ atmos auth exec
Execute a command with identity credentials
📄️ atmos auth env
Export credentials as environment variables
📄️ atmos auth console
Open AWS console in browser
📄️ atmos auth list
List available identities and providers
📄️ atmos auth logout
Clear cached credentials
See Also
- Profiles — Environment-specific configuration overrides
- Stack Auth Configuration — Configure authentication at the stack level