KEMBAR78
PAT scopes - unclear correspondence between short names and long names · Issue #10131 · cli/cli · GitHub
Skip to content

PAT scopes - unclear correspondence between short names and long names #10131

@erikv85

Description

@erikv85

When using PAT to perform gh auth login, gh says that "The minimum required scopes are 'repo', 'read:org', 'admin:public_key'.". It is not clear which options these short names correspond to in the list of permissions shown when generating a PAT. See attached image.

Because the correspondence is not clear, it's furthermore not clear how to create a PAT with the minimum scopes - instead, I have to use all scopes.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    feedbackgh-authrelating to the gh auth commandhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions