gh-secret
Manage GitHub secrets. tldr-pages
On several platforms
Several platforms
List secret keys for the current repository
gh secret [lsIdentifyList secret keys for a specific organization
gh secret [ls --org organizationIdentifyList secret keys for a specific repository
gh secret [ls --repo owner/repositoryIdentifySet a secret for the current repository (user will be prompted for the value)
gh secret set nameIdentifySet a secret from a file for the current repository
gh <path/to/file secret set nameIdentifySet an organization secret for specific repositories
gh secret set name --org organization --repos repository1,repository2IdentifyRemove a secret for the current repository
gh secret remove nameIdentifyRemove a secret for a specific organization
gh secret remove name --org organizationIdentify