Authentication
Method
Use case
Lifetime
Login with an API Key (Recommended for Automation)
Step 1 — Create an API key
ace api-key create --name terraform-prod --description "IaC for production"API key created. Save the secret below now — it will NEVER be shown again.
Service name: terraform-prod
API key: 00000000-0000-0000-0000-000000000000.EXAMPLE-secret-do-not-use
To use this key as your CLI auth method, run:
ace auth login-api-key --key "00000000-0000-0000-0000-000000000000.EXAMPLE-secret-do-not-use" --service-name "terraform-prod"Step 2 — Log in with the key
Step 3 — Use it
Env var alternative (preferred for CI)
Managing API keys
Login with Developer Token (JWT)
Login with Email/Password
Account Commands
ace auth me output
ace auth me outputToken Expiry
Last updated