Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

enhancement: docs: make instructions for getting example creds more clear #8

Description

@kbroughton

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions