silos auth & silos config
Log in, manage API keys, and configure CLI defaults like the API endpoint and output format.
The silos auth group handles authentication and API keys; silos config manages
local CLI defaults.
silos auth
silos auth <subcommand>auth login
Log in to Silos. The CLI stores your credentials locally so subsequent commands are authenticated.
silos auth loginauth logout
Log out and clear stored credentials.
silos auth logoutauth whoami
Show the currently authenticated user.
silos auth whoamiManaging API keys
API keys authenticate programmatic access — CI pipelines, scripts, and the
REST API. Manage them with silos auth keys.
auth keys list
List your API keys.
silos auth keys listauth keys create
Create a new API key with a descriptive name. The key value is shown once on creation — store it somewhere safe.
silos auth keys create "ci-pipeline"| Argument | Description |
|---|---|
<name> | A descriptive name for the key. |
The full key is only displayed at creation time. If you lose it, revoke the key and create a new one rather than trying to recover it.
auth keys revoke
Revoke an API key by its ID. Any client using it stops working immediately.
silos auth keys revoke key_abc123| Argument | Description |
|---|---|
<key_id> | The ID of the key to revoke. |
silos config
silos config manages local CLI configuration — defaults the CLI remembers between
runs.
silos config <subcommand>config show
Show the current configuration.
silos config showconfig set
Set a configuration value.
silos config set default_region dal| Argument | Description |
|---|---|
<key> | Configuration key. |
<value> | Value to set. |
config get
Read a single configuration value.
silos config get default_region| Argument | Description |
|---|---|
<key> | Configuration key to read. |
The global --api-url / SILOS_API_URL and --api-key / SILOS_API_KEY flags
override stored configuration for a single command, which is the cleanest way to use a
scoped key in CI. See CLI overview.