CmdID

CmdID / Commands

doctl-auth

Authenticate doctl with API tokens. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Open a prompt to enter an API token and label its context

doctl auth init --context token_labelIdentify

List authentication contexts (API tokens)

doctl auth [lsIdentify

Switch contexts (API tokens)

doctl auth switch --context token_labelIdentify

Remove a stored authentication context (API token)

doctl auth remove --context token_labelIdentify

Show available commands

doctl auth --helpIdentify