fix keyvault key secret not support cloud environment (#49182)

pull/49366/head
Yunge Zhu 6 years ago committed by GitHub
parent 824c72da5f
commit be28794dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -149,6 +149,7 @@ class AzureRMKeyVaultKey(AzureRMModuleBase):
client_id=self.credentials['client_id'],
secret=self.credentials['secret'],
tenant=tenant,
cloud_environment=self._cloud_environment,
resource="https://vault.azure.net")
token = authcredential.token

@ -141,6 +141,7 @@ class AzureRMKeyVaultSecret(AzureRMModuleBase):
client_id=self.credentials['client_id'],
secret=self.credentials['secret'],
tenant=tenant,
cloud_environment=self._cloud_environment,
resource="https://vault.azure.net")
token = authcredential.token

Loading…
Cancel
Save