-
Notifications
You must be signed in to change notification settings - Fork 194
Open
Description
The documentation at
Rotate service principal credentials for your Azure Red Hat OpenShift (ARO) Cluster
Mentions about dealing with Microsoft Entra Service Principals :
Generate a new secure secret for the service principal
SP_SECRET=$(az ad sp credential reset --id $SP_ID --query password -o tsv)
But to check expiry date :
Use az ad ap cred list
az ad app credential list --id $SP_ID --query "[].endDateTime" -o tsv
Instead it needs to be :
az ad sp credential list --id $SP_ID --query "[].endDateTime" -o tsv
I had an issue where customer had Microsoft Entra APP registration with but APP object and SP object and this command cause a lot of confusion.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels