doctl-auth
Authenticate doctl with API tokens. tldr-pages
On several platforms
Several platforms
Open a prompt to enter an API token and label its context
doctl auth init --context token_labelIdentifyList authentication contexts (API tokens)
doctl auth [lsIdentifySwitch contexts (API tokens)
doctl auth switch --context token_labelIdentifyRemove a stored authentication context (API token)
doctl auth remove --context token_labelIdentifyShow available commands
doctl auth --helpIdentify