1GH-SECRET-LIST(1) GitHub CLI manual GH-SECRET-LIST(1)
2
3
4
6 gh-secret-list - List secrets
7
8
9
11 gh secret list [flags]
12
13
14
16 List secrets 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 List secrets for a specific application: {actions|codespaces|de‐
27 pendabot}
28
29
30 -e, --env <string>
31 List secrets for an environment
32
33
34 -q, --jq <expression>
35 Filter JSON output using a jq expression
36
37
38 --json <fields>
39 Output JSON with the specified fields
40
41
42 -o, --org <string>
43 List secrets for an organization
44
45
46 -t, --template <string>
47 Format JSON output using a Go template; see "gh help formatting"
48
49
50 -u, --user
51 List a secret for your user
52
53
54
56 -R, --repo <[HOST/]OWNER/REPO>
57 Select another repository using the [HOST/]OWNER/REPO format
58
59
60
62 gh-secret(1)
63
64
65
66 Nov 2023 GH-SECRET-LIST(1)