azure-cli: "az keyvault secret set" failed with error "Max retries exceeded attempting to connect to vault"

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az keyvault secret set

Errors:

Max retries exceeded attempting to connect to vault. The vault may not exist or you may need to flush your DNS cache and try again later.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here…
  • az keyvault secret set --vault-name {} --name {} --value {}

Expected Behavior

Environment Summary

Linux-5.3.0-1028-azure-x86_64-with-debian-9.11
Python 3.6.5

azure-cli 2.1.0 *

Additional Context

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

From my powershell ISE it is creating the secret if doesn’t exist, but in a Azure DevOps pipeline it is failing. any idea?