Forrest logo
back to context overview

gh-secret-set

List of commands for gh-secret-set:

  • gh-secret-set:tldr:34413 gh-secret-set: Set an organization secret with a specific visibility.
    $ gh secret set ${name} --org ${organization} --visibility ${select}
    try on your machine
    explain this command
  • gh-secret-set:tldr:7e480 gh-secret-set: Set a secret from a file for the current repository.
    $ gh secret set ${name} < ${filename}
    try on your machine
    explain this command
  • gh-secret-set:tldr:bee91 gh-secret-set: Set a secret for a specific repository.
    $ gh secret set ${name} --body ${value} --repo ${owner}/${repository}
    try on your machine
    explain this command
  • gh-secret-set:tldr:edd45 gh-secret-set: Set a secret for the current repository (user will be prompted for the value).
    $ gh secret set ${name}
    try on your machine
    explain this command
  • gh-secret-set:tldr:f2e7f gh-secret-set: Set an organization secret for specific repositories.
    $ gh secret set ${name} --org ${organization} --repos "${repository1,repository2,---}"
    try on your machine
    explain this command
back to context overview