Skip to content
Config File Reference

Config File Reference

Config file location: ~/.outline-cli/config.yaml (override with --config <path>)

Format

server_url: # Outline server base URL
auth_method: # Auth method: api_token, oidc, basic
token_storage: # Secret storage backend: keyring, file
oidc_port: # Local port for OIDC callback
username: # Basic auth username

Fields

KeySecretEnv VarDescription
server_urlnoOUTLINE_SERVER_URLOutline server base URL
auth_methodnoOUTLINE_AUTH_METHODAuth method: api_token, oidc, basic
token_storagenoOUTLINE_TOKEN_STORAGESecret storage backend: keyring, file
oidc_portnoOUTLINE_OIDC_PORTLocal port for OIDC callback
api_tokenyesOUTLINE_API_TOKENAPI bearer token
passwordyesOUTLINE_PASSWORDBasic auth password
usernamenoOUTLINE_USERNAMEBasic auth username
oidc_access_tokenyesOUTLINE_OIDC_ACCESS_TOKENOIDC access token (set by auth oidc-login)

File Permissions

The config file is always written with 0600 permissions (owner read/write only).

Secret Storage

When token_storage=keyring (default), secret keys are stored in the OS keyring under service outline-cli. Set token_storage=file for headless environments (CI, containers) — secrets are then written to the YAML file in plaintext.