Skip to content

Commit 980ebc9

Browse files
committed
Clarify access level needed for secrets in web interface
Closes #1087 I considered changing the `permissions-statement-secrets-repository` reusable to include a reference to the API, but then I noticed that the other place using it (["Enabling debug logging"][1]) already mentioned the API, so instead I added a note. Including a mention of "web interface" lead to (IMO) too much duplication in text, so I rephrased it to be more like the `permissions-statement-secrets-api` reusable. [1]: https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/enabling-debug-logging
1 parent bb3297c commit 980ebc9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

content/actions/reference/encrypted-secrets.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ When generating credentials, we recommend that you grant the minimum permissions
7575

7676
If your repository {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %}has environment secrets or {% endif %}can access secrets from the parent organization, then those secrets are also listed on this page.
7777

78+
{% note %}
79+
80+
**Note:** Users with collaborator access can use the REST API to manage secrets for a repository. For more information, see "[{% data variables.product.prodname_actions %} secrets API](/rest/reference/actions#secrets)."
81+
82+
{% endnote %}
83+
7884
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" %}
7985
### Creating encrypted secrets for an environment
8086

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
To create secrets for a user account repository, you must be the repository owner. To create secrets for an organization repository, you must have `admin` access.
1+
To manage secrets using the web interface, you must be the repository owner for a user account repository, or have `admin` access for an organization repository.

0 commit comments

Comments
 (0)