Read fly secrets during Docker build

If you haven’t considered flyctl to siphon off secrets, then:

# assuming flyctl auth is done and flyctl ssh token has been issued
flyctl ssh console -a myapp -C "printenv secret-name"

You shouldn’t but you can, so why not? But don’t. (:

1 Like