envs

Fly.io — flyctl and deploys

fly/deploy · version 1

envs add fly/deploy

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
FLY_API_TOKEN required secret flyctl reads FLY_ACCESS_TOKEN as an alias for the same value; only one name is offered here. Fly says not to put the personal token from fly auth token into CI because it reaches everything, so create a scoped deploy token. Rotate on a schedule: create new, revoke old.. where to get it

The JSON the CLI reads