gh app-auth migrate
This page is generated from the output of gh-app-auth migrate --help in the checked-out source. To refresh it, run npm run reference:generate in website/.
Help output
Section titled “Help output”Migrate private keys from filesystem to encrypted keyring storage.
This command helps you move your private keys from plain text files tothe OS-native encrypted keyring (Keychain on macOS, Credential Manageron Windows, Secret Service on Linux).
The migration is safe and non-destructive - original key files are keptas a fallback unless you specify --force.
Usage: gh-app-auth migrate [flags]
Examples: # Preview migration (dry-run) gh app-auth migrate --dry-run
# Migrate keys to encrypted keyring gh app-auth migrate
# Migrate to filesystem storage gh app-auth migrate --storage filesystem
# Migrate and remove original key files gh app-auth migrate --force
Flags: --dry-run Preview migration without making changes --force Remove original key files after successful migration -h, --help help for migrate --storage string Target storage: keyring or filesystem (default "keyring")
Global Flags: --config string Path to configuration file --debug Enable debug output