File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ def initialize(principal_id: nil)
88 @identity_uri = URI . parse ( IDENTITY_ENDPOINT )
99 params = {
1010 'api-version' : API_VERSION ,
11- resource : RESOURCE_URI
11+ resource : RESOURCE_URI ,
1212 }
1313 params [ :principal_id ] = principal_id if principal_id
1414 @identity_uri . query = URI . encode_www_form ( params )
Original file line number Diff line number Diff line change 11module AzureBlob
22 class WorkloadIdentity # Azure AD Workload Identity
33 IDENTITY_ENDPOINT = "https://login.microsoftonline.com/#{ ENV [ 'AZURE_TENANT_ID' ] } /oauth2/v2.0/token"
4- CLIENT_ID = ENV [ ' AZURE_CLIENT_ID' ]
4+ CLIENT_ID = ENV [ " AZURE_CLIENT_ID" ]
55 SCOPE = "https://storage.azure.com/.default"
66 GRANT_TYPE = "client_credentials"
77 CLIENT_ASSERTION_TYPE = "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"
You can’t perform that action at this time.
0 commit comments