Skip to content

[KeyVault] Support getting plain text secret with -AsPlainText #13630

Closed

Description

Description

Adding an optional parameter to Get-AzKeyVaultSecret. When specified, outputs the plain text secret.

Design choices

  • Should we return the plain text secret only, or return a PSKeyVaultSecret object with an extra property representing the plain text secret?
    • Per below sggestions, we'll just return the secret text.
  • Any other cmdlets also need -AsPlainText?
    • Not this time.

Expectation

It should work in

Cost

s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

KeyVaultfeature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions