-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
KeyVaultaz keyvaultaz keyvaultcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Milestone
Description
Describe the bug
Command Name
az keyvault secret list
Errors:
AKV10032: Invalid issuer. Expected one of https://sts.windows.net/<nondefault tenant>/, found https://sts.windows.net/<default tenant>/.
To Reproduce:
Steps to reproduce the behavior.
az login// login with one tenantaz login// login with second tenantaz account list// verify multiple subscriptions exist with different tenantsaz keyvault secret list --subscription <subscription from nondefault tenant> --vault-name {} --query '[].id'
Expected Behavior
Secret ids are printed.
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.6
Shell: powershell.exe
azure-cli 2.0.80
Additional Context
az account list
[
{
"cloudName": "AzureCloud",
"id": "<default subscription>",
"isDefault": true,
"name": "Visual Studio Enterprise with MSDN",
"state": "Enabled",
"tenantId": "<default tenant>",
"user": {
"name": "<email>",
"type": "user"
}
},
{
"cloudName": "AzureCloud",
"id": "<subscription from nondefault tenant>",
"isDefault": false,
"name": "Visual Studio Enterprise",
"state": "Enabled",
"tenantId": "<nondefault tenant>",
"user": {
"name": "<email>",
"type": "user"
}
}
]r-t-m, jakubigla, solidnerd, aszegedi, MikePennington and 7 more
Metadata
Metadata
Labels
KeyVaultaz keyvaultaz keyvaultcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request