-
Notifications
You must be signed in to change notification settings - Fork 3.4k
On-premises Key Vault will not resolve without period in suffix-keyvault-dns value #28961
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamKeyVaultaz keyvaultaz keyvaultact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamKeyVaultaz keyvaultaz keyvaultact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
I am using az cli 2.53.1 in the official Microsoft container. If I try to do:
Then, az cli is unable to resolve my hostname. I previously passed in via
My keyvault suffix dns. It was set to:
I could not figure out why AzCLI kept reporting that the name could not be resolved. I had to add a period in front of .vault since apparently AzCLI does not append a period.
I think AzCLI should append a period. This would make it consistent with how storage endpoint works. As far as I can tell, that does not require a period.
Related command
see above
Errors
Errno -2. Name could not be resolved.
Issue script & Debug output
Not able to provide. Airgapped.
Expected behavior
AzCLI does not require a period.
Environment Summary
azure-cli 2.53.1
core 2.53.1
telemetry 1.10
Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2
Additional context
Using Azure Stack Hub