Doctl Auth - Control API Tokens with DigitalOcean | Online Free DevTools by Hexmos

Control API tokens easily with Doctl Auth. Manage DigitalOcean authentication contexts securely and efficiently using command line. Free online tool, no registration required.

doctl auth

Authenticate doctl with API tokens. More information: https://docs.digitalocean.com/reference/doctl/reference/auth/.

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

doctl auth init --context {{token_label}}

  • List authentication contexts (API tokens):

doctl auth {{[ls|list]}}

  • Switch contexts (API tokens):

doctl auth switch --context {{token_label}}

  • Remove a stored authentication context (API token):

doctl auth remove --context {{token_label}}

  • Show available commands:

doctl auth {{[-h|--help]}}