List which secrets a Worker has
secrets & env vars
// what it does
Shows the names and types of every secret bound to the Worker so you can audit what's configured before a deploy or after a rotation. Add `--env` to inspect a specific environment's store.
// shell
$ wrangler secret list --format pretty$ wrangler secret list --env production// gotcha
Only names and types come back — never the values, since secrets are write-only. Default `--format` is `json`; pass `--format pretty` for a readable table.