Skip to content

Issue with the "Integrating flyctl" doc #2375

@richseviora

Description

@richseviora

I found an issue with this document.

Title: Integrating flyctl
Location: https://fly.io/docs/flyctl/integrating/
Source: https://github.com/superfly/docs/blob/main/flyctl/integrating.html.md

Describe the issue

the commands in this document are outdated

Document says this:

FLY_ACCESS_TOKEN is an environment variable which can be used to pass an access token to an instance of Flyctl. The token may be obtained using flyctl auth token. A token with permission to manage a single app can be generated with fly tokens create deploy.
FLY_APP is an environment variable which is used as the application name.

I ran flyctl auth token and got this response:

$ flyctl auth token
? You must be logged in to do this. Would you like to sign in? Yes
Opening https://fly.io/app/auth/cli/SNIP ...

Waiting for session... Done
successfully logged in as EMAIL
The 'fly auth token' command is deprecated. Use 'fly tokens create' instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions