You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
I was able to create creds with
az ad sp create-for-rbac --name myServicePrincipal --password mypwd
Though it wasn't obvious how to map it to the credentials.
I eventually found that this works:
AZURE_CLIENT_ID=appId
AZURE_CLIENT_OID=principalId
AZURE_CLIENT_SECRET=mypwd
I had to run az role assignment list --assignee
to get the principalId and use that as the OID.
You might want to add that to the documentation.