How to view environment variables in a fly machine?

How can I see the environment variables in a fly machine that were set via -e arguments to fly machine run?

# assuming printenv is built into the deployed docker image
flyctl ssh console -a <app-name> -C "printenv"
flyctl ssh console -a <app-name> -C "printenv <var-name>"

# echo also works
flyctl ssh console -a <app-name> -C "echo $var"

(ref).

:pray:t3: