Skip to main content

ghtkn integration

aqua >= v2.54.0 #4173

aqua can get or create GitHub App User Access Tokens to call GitHub APIs by ghtkn. For the local development, you don't need to use personal access tokens anymore.

Limitations

This feature creates access tokens via GitHub App's Device Flow. So this doesn't work on non-interactive environment such as CI.

Requirements

Note that ghtkn CLI isn't required.

How To Set up

  1. Create ghtkn's configuration file

For more details, please see the document of ghtkn..

  1. Update aqua to v2.54.0 or later
  2. Set the environment variable
export AQUA_GHTKN_ENABLED=true

Remove environment variables such as GITHUB_TOKEN, AQUA_GITHUB_TOKEN, and AQUA_KEYRING_ENABLED.