Skip to content

Instantly share code, notes, and snippets.

@DiegoFleitas
Last active February 20, 2023 02:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DiegoFleitas/7811eb8a5dc91c8d4416350496665b89 to your computer and use it in GitHub Desktop.
Save DiegoFleitas/7811eb8a5dc91c8d4416350496665b89 to your computer and use it in GitHub Desktop.
Fly.io read secrets plain text
$ flyctl apps list
$ flyctl ssh console -a <app-name>
# type env
@DiegoFleitas
Copy link
Author

DiegoFleitas commented Jan 23, 2023

set secret
$ flyctl secrets set SECRET="myvalue" -a <app-name>

unset secret
$ flyctl secrets unset SECRET -a <app-name>

@DiegoFleitas
Copy link
Author

stop app without deleting

flyctl scale count 0 -a <app-name>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment