Skip to main content

Mass Alpha Stash List

mass alpha stash list​

List the stash entries in a scope

Synopsis​

List Stash Entries

Lists the entries in one stash. Expired entries are not listed.

A sensitive value shows as (sensitive) unless you have stash:export on the stash.

Stashes do not inherit. Listing an instance does not show its environment's entries.

Usage​

shell
mass alpha stash list <scope> [flags]

Flags​

  • --output, -o: Output format, table (default) or json

Examples​

See every entry on an environment:

shell
mass alpha stash list billing-dev

See the well-known keys that drive an instance's widgets:

shell
mass alpha stash list billing-dev-app -o json | jq -r '.[] | select(.key | startswith("md/")) | .key'

List the keys that a deployment wrote:

shell
mass alpha stash list "$MASSDRIVER_DEPLOYMENT_ID" -o json | jq -r '.[].key'
mass alpha stash list <scope> [flags]

Options​

  -h, --help            help for list
-o, --output string Output format (table, json) (default "table")

Options inherited from parent commands​

      --profile string   Configuration profile to use (overrides MASSDRIVER_PROFILE and the active profile)

SEE ALSO​

  • mass alpha stash - Share values between deployments, scripts, and the Massdriver UI