gh secret

Manage GitHub secrets from the command-line.
More information.
gh secret list
gh secret list --org {organization}
gh secret list --repo {owner}/{repository}
gh secret set {name}
gh secret set {name} < {path/to/file}
gh secret set {name} --org {organization} --repos {repository1,repository2}
gh secret remove {name}
gh secret remove {name} --org {organization}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY