Scroll to navigation

GH-SECRET-REMOVE(1) GitHub CLI manual GH-SECRET-REMOVE(1)

NAME

gh-secret-remove - Remove secrets

SYNOPSIS

gh secret remove <secret-name> [flags]

DESCRIPTION

Remove a secret on one of the following levels: - repository (default): available to Actions runs in a repository - environment: available to Actions runs for a deployment environment in a repository - organization: available to Actions runs within an organization - user: available to Codespaces for your user

OPTIONS

-e, --env <string>
Remove a secret for an environment

-o, --org <string>
Remove a secret for an organization

-u, --user
Remove a secret for your user

OPTIONS INHERITED FROM PARENT COMMANDS

-R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format

SEE ALSO

gh-secret(1)

Jun 2022