otdfctl auth client-credentials
client-credentials - Authenticate to the platform with the client-credentials flow
Synopsis
otdfctl auth client-credentials <client-id> [client-secret]
Description
[!NOTE] Requires experimental profiles feature.
OS Keychain State MacOS Keychain Stable Windows Credential Manager Alpha Linux Secret Service Not yet supported
Allows the user to login in via Client Credentials flow. The client credentials will be stored safely in the OS keyring for future use.
Examples
Authenticate with client credentials (id and secret provided interactively)
otdfctl auth client-credentials
Authenticate with client credentials (secret provided interactively)
otdfctl auth client-credentials <client-id>
Authenticate with client credentials (secret provided as argument)
otdfctl auth client-credentials <client-id> <client-secret>