
In the upper-right corner of any page, click your profile photo, then click Settings. Verify your email address, if it hasn't been verified yet. For more information, see " Available scopes". To use your token to access repositories from the command line, select repo. To provide additional security, we highly recommend adding an expiration to your personal access tokens.Ī token with no assigned scopes can only access public information.

For more information, see " About authentication with SAML single sign-on" and " Authorizing a personal access token for use with SAML single sign-on" in the GitHub Enterprise Cloud documentation.Īs a security precaution, GitHub automatically removes personal access tokens that haven't been used in a year. If you want to use a PAT to access resources owned by an organization that uses SAML SSO, you must authorize the PAT. Personal access tokens (PATs) are an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line. For installation instructions, see Download and install in the GitCredentialManager/git-credential-manager repository.

