gh secret set
Create or update secrets
Options
Name | Description |
---|---|
--repo, -R <[HOST/]OWNER/REPO> | Select another repository |
-e, --env <string> | List secrets for an environment |
-o, --org <string> | List secrets for an environment |
-b, --body <string> | A value for the secret. Reads from STDIN if not specified |
-v, --visibility <string> | Set visibility for an organization secret: all, `private`, or `selected` (default 'private') |