Config Command
The auth
command provides a convenient way of adding or removing tokens from either the configuration file or the system keyring.
Syntax
godyl auth [remove|set] [flags]
Subcommands
Subcommand | Description |
---|---|
set [token]... | Store tokens from the parsed configuration |
remove [token]... , rm [token]... | Remove authentication tokens |
Examples
Set all values from the tokens.env
file
godyl --env-file=tokens.env auth set
Set a specific token in the keyring
GODYL_GITHUB_TOKEN=token godyl --keyring auth set github-token
Remove all authentication tokens
godyl auth rm
Remove a specific token
godyl auth rm github-token