1GH-SECRET-DELETE(1) GitHub CLI manual GH-SECRET-DELETE(1)
2
3
4
6 gh-secret-delete - Delete secrets
7
8
9
11 gh secret delete <secret-name> [flags]
12
13
14
16 Delete a secret on one of the following levels: - repository (default):
17 available to Actions runs or Dependabot in a repository - environment:
18 available to Actions runs for a deployment environment in a repository
19 - organization: available to Actions runs, Dependabot, or Codespaces
20 within an organization - user: available to Codespaces for your user
21
22
23
25 -a, --app <string>
26 Delete a secret for a specific application: {ac‐
27 tions|codespaces|dependabot}
28
29
30 -e, --env <string>
31 Delete a secret for an environment
32
33
34 -o, --org <string>
35 Delete a secret for an organization
36
37
38 -u, --user
39 Delete a secret for your user
40
41
42
44 -R, --repo <[HOST/]OWNER/REPO>
45 Select another repository using the [HOST/]OWNER/REPO format
46
47
48
50 gh-secret(1)
51
52
53
54 Oct 2023 GH-SECRET-DELETE(1)