Verify a secrets' value

I am trying to debug an authentication issue with our production servers. One possibility I want to eliminate is that the API key (stored as a secret) used to authenticate is incorrect. I have the correct value at hand.

I believe originally the secret’s digest returned from
flyctl secrets list
was a simple MD5 sum, so it was easy to verify correctness. But that is not the case anymore. Is there some other way to verify the value of a secret?


You can ssh into any machine using fly ssh console or if that’s not possible use fly console to create a temporary machine and SSH to it then run echo $YOUR_ENV

Since secrets are passed in as environment variables, can you access the machine via either fly ssh console or fly console and verify the token that way?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.