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
- Keyring such as Windows Credential Manager, macOS Keychain, and GNOME Keyring
- GitHub Apps and their client ids
Note that ghtkn CLI isn't required.
How To Set up
- Create ghtkn's configuration file
For more details, please see the document of ghtkn..
- Update aqua to v2.54.0 or later
- Set the environment variable
export AQUA_GHTKN_ENABLED=true
Remove environment variables such as GITHUB_TOKEN
, AQUA_GITHUB_TOKEN
, and AQUA_KEYRING_ENABLED
.