gh secret

Manage GitHub secrets. More information: https://cli.github.com/manual/gh_secret.

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}}