S

spacectl

CLI discovered

Details
Command
spacectl
Docs
https://docs.spacelift.io/concepts/spacectl
Authentication
Spacelift API token bearer discovered Get token ↗
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.

Spacelift API key (key ID + key secret) compound discovered Get key ↗
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.