Features
https://aquaproj.github.io/docs/reference/security/ghtkn/
Now aqua can get a GitHub App User Access Token by ghtkn integration.
Stop risking token leaks - Use secure, short-lived GitHub tokens for local development.
Requirements
The ghtkn integration requires:
- Keyring
This feature doesn't depend on ghtkn CLI.
Limitation
The integration requires the user interaction when creating an access token via Device Flow, so it's unavailable in CI.
Set up
For more details, please see https://github.com/suzuki-shunsuke/ghtkn .
- Create a GitHub App
- Create a configuration file of ghtkn
- Set the environment variable
AQUA_GHTKN_ENABLED=true
export AQUA_GHTKN_ENABLED=true
Then aqua gets a user access token using ghtkn Go SDK when aqua calls GitHub APIs.