Skip to content

Commit 1fa2809

Browse files
authored
Merge pull request #8351 from MicrosoftDocs/users/jukullam/secret-rotation
Add new secret refresh option
2 parents 66afc9f + e92c07d commit 1fa2809

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/pipelines/release/azure-rm-endpoint.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The following issues might occur when you create service connections:
5555
- [Failed to assign Contributor role](#failed-to-assign-contributor-role)
5656
- [Subscription isn't listed when creating a service connection](#subscription-isnt-listed-when-creating-a-service-connection)
5757
- [Some subscriptions are missing from the list of subscriptions](#some-subscriptions-are-missing-from-the-list-of-subscriptions)
58-
- [Service principal's token expired](#service-principals-token-expired)
58+
- [Service principal's token expired](#service-principal-or-secret-expired)
5959
- [Failed to obtain the JSON web token (JWT) by using the service principal client ID](#failed-to-obtain-the-jwt-by-using-the-service-principal-client-id)
6060
- [Azure subscription isn't passed from the previous task output](#azure-subscription-isnt-passed-from-the-previous-task-output)
6161
- [What authentication mechanisms are supported? How do managed identities work?](#what-authentication-mechanisms-are-supported-how-do-managed-identities-work)
@@ -185,7 +185,7 @@ To resolve this issue, ask the subscription administrator to [assign you the app
185185
1. Clear your browser cache and cookies to ensure that any old tokens are removed.
186186
1. From the Azure DevOps portal, go to the service connections, and reauthorize the connection to Azure. This step prompts Azure DevOps to use a new token.
187187

188-
### Service principal's token expired
188+
### Service principal or secret expired
189189

190190
An issue that often arises with service principals or secrets that are automatically created is that the token expires and needs to be renewed. If you have an issue with refreshing the token, see [Failed to obtain an access token or a valid refresh token wasn't found](#failed-to-obtain-an-access-token-or-a-valid-refresh-token-wasnt-found).
191191

@@ -197,11 +197,11 @@ If your token expired, you could see one of the error messages:
197197

198198
To renew the access token for an automatically created service principal or secret:
199199

200-
1. Go to **Project settings** > **Service connections**, and then select the service connection you want to modify.
200+
1. Go to **Project settings** > **Service connections**, and then select the service connection you want to refresh.
201201

202-
1. Select **Edit** in the upper-right corner.
202+
1. Select **Rotate secret**.
203203

204-
1. Select **Save**.
204+
:::image type="content" source="media/azure-rm-endpoint/rotate-secret.png" alt-text="Screenshot of option to rotate an ARM secret. ":::
205205

206206
The token for your service principal or secret is now renewed for three more months.
207207

96.1 KB
Loading

0 commit comments

Comments
 (0)