I’m trying to list all my secret environment variables. I know that
fly secrets list will only list the digests, not the plaintext values of the secrets–that’s ok, I just want a list of the variable names anyways.
But when I ran
fly secrets list, it returned a blank list:
$ fly secrets list NAME DIGEST CREATED AT
But I know the secrets are being used in the deployed app, because it calls external APIs using keys that I previously stored via, e.g.,
fly secrets set API_KEY=abc123, and the app is calling those APIs successfully.
And when I created a new secret just now, using:
fly secrets set BOGUS_SECRET=bogus_secret, that worked, because I can now read the digest using:
$ fly secrets list NAME DIGEST CREATED AT BOGUS_SECRET 460845d30b8a2ced 37s ago
shouldn’t it be showing something like this instead?
$ fly secrets list NAME DIGEST CREATED AT API_KEY 39848738q0q3489j 5d ago BOGUS_SECRET 460845d30b8a2ced 37s ago