Skip to content

fetch multiple keyvault secrets via az keyvault secret show #26321

@davildaran

Description

@davildaran

Related command

az keyvault secret show

Is your feature request related to a problem? Please describe.
Not a problem necessarily, just a nice-to-have rather than multiple calls to specify one az cli call when we know the set of secrets in a key vault that a service requires.

Describe the solution you'd like

An optional parameter --names or --list to select multiple key vault secrets in one call.

E.g. az keyvault secret show --list SECRET-1,SECRET-2,SECRET-3 --vault-name <vaultName> --query "value"

Describe alternatives you've considered

Multiple calls to az keyvault secret show --name ...; one secret fetched per call.

Additional context
azure-cli version 2.48.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions