fix keyvault key secret not support cloud environment (#49182)
This commit is contained in:
parent
824c72da5f
commit
be28794dfc
2 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue