S
spacectl
Details
- Command
-
spacectl - Docs
- https://docs.spacelift.io/concepts/spacectl
Authentication
env SPACELIFT_API_TOKEN Sign in to your Spacelift account from Login and generate a Spacelift API token in the account UI. The spacectl docs explicitly list SPACELIFT_API_TOKEN as a supported authentication method in spacectl, the Spacelift CLI.
env SPACELIFT_API_KEY_ID, SPACELIFT_API_KEY_SECRET Sign in to your Spacelift account from Login, then create an API key in your account/app UI. Spacelift docs reference API keys and role assignment for them in API key role bindings. Keep both the key ID and key secret; spacectl docs indicate API-key-based authentication is supported.