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

This commit is contained in:
Yunge Zhu 2018-11-30 14:08:31 +08:00 committed by GitHub
parent 824c72da5f
commit be28794dfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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