sincecutoff.com
← all changes

doctl secrets get supports --kvs

Introduced 2026-09-18 · score 0.97

HOW TO USE IT

When you need a secret’s values as key-value pairs, run `doctl secrets get --region <region> --kvs <name>`. The `--kvs` flag reveals values as `KEY=VALUE` pairs; the release note says they print in alphabetical order.

doctl secrets get --region tor1 --kvs my-secret

WHY THIS HELPS

Retrieve a secret’s values as key-value pairs for a development workflow.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.169.0
  • <name> (required): Name of the secret container to retrieve.
  • --region <region>: Region where the secret is stored; the example uses `tor1`.
  • --kvs: Reveal secret values as `KEY=VALUE` pairs. Defaults to false.
  • Prerequisite: Install and configure doctl to use the CLI.
  • Output values are always printed in alphabetical order.
  • Docs conflict: The current DigitalOcean command reference is generated for doctl v2.0.0, newer than the card’s v1.169.0. It says `--kvs` takes precedence over other flags, a behavior not documented in the v1.169.0 release note; that newer-version behavior is not included here.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card