GH-SECRET-REMOVE(1)

πŸ“¦ version 2.4.0, in ubuntu jammy

✨ GH-SECRET-REMOVE ✨

okay bestie, welcome to the GitHub CLI manual πŸ’– this one's gh-secret-remove, and yes it does exactly what it says on the tin: it removes secrets. bye bye secret, you will not be missed 🫢


🌸 NAME 🌸

gh-secret-remove β€” remove secrets πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

gh secret remove <secret-name> [flags]

that's it. that's the whole vibe. you give it a secret name, you sprinkle flags, the secret is gone ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, secrets live at different levels, and you get to pick which one you're yeeting from πŸ‘‘

  • repository (the default, no cap) β€” 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

pick your level, name your secret, and let it go 🧚


πŸ’œ 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 ⭐


okay that's the whole page, you ate that πŸ“ mwah πŸ’– this was the GitHub CLI manual, dated Mar 2022 β€” love u, go remove some secrets responsibly, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from