Skip to content

Commit c328895

Browse files
CopilotN-UshaCopilotsophietheking
authored
Clarify credential revocation REST API limitation for data residency (#61125)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: N-Usha <25389593+N-Usha@users.noreply.github.com> Co-authored-by: Usha N <n-usha@github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
1 parent 3aa6bda commit c328895

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

content/rest/authentication/keeping-your-api-credentials-secure.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ Never hardcode authentication credentials like tokens, keys, or app-related secr
5757

5858
If you find another user's {% data variables.product.pat_generic %} exposed on {% data variables.product.github %} or elsewhere, you can submit a revocation request through the REST API. See [AUTOTITLE](/rest/credentials/revoke#revoke-a-list-of-credentials).
5959

60+
{% ifversion ghec %}
61+
> [!NOTE]
62+
> The credential revocation REST API is not currently available for enterprises that use {% data variables.enterprise.data_residency %}.
63+
64+
{% endif %}
6065
{% endif %}
6166

6267
When using a {% data variables.product.pat_generic %} in a script, consider storing your token as a {% data variables.product.prodname_actions %} secret and running your script through {% data variables.product.prodname_actions %}.{% ifversion fpt or ghec %} You can also store your token as a Codespaces secret and run your script in Codespaces.{% endif %} For more information, see [AUTOTITLE](/actions/security-guides/encrypted-secrets){% ifversion fpt or ghec %} and [AUTOTITLE](/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces){% endif %}.

0 commit comments

Comments
 (0)