Azure.jl icon indicating copy to clipboard operation
Azure.jl copied to clipboard

How to use --federated-tokens?

Open schlichtanders opened this issue 2 years ago • 0 comments

Hi, I want to do something similar to https://docs.gitlab.com/ee/ci/cloud_services/azure/#retrieve-a-temporary-credential, i.e. I have a jwt webidentity token and would like to authenticate to Azure using Azure.jl

So concretely, I am asking how to write the following in Azure.jl

az login --service-principal -u $AZURE_CLIENT_ID -t $AZURE_TENANT_ID --federated-token $CI_JOB_JWT_V2

schlichtanders avatar Apr 27 '23 13:04 schlichtanders