Skip to content

Commit ff4d800

Browse files
authored
fix missing return object (Azure#13688)
1 parent a94b472 commit ff4d800

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/KeyVault/KeyVault/Az.KeyVault.Extension/Az.KeyVault.Extension.psm1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,13 @@ function Get-Secret
4444
{
4545
$SecretValue = Get-String $Secret
4646
}
47-
4847
'PSCredential'
4948
{
50-
Get-PSCredential $Secret
49+
$SecretValue = Get-PSCredential $Secret
5150
}
5251
'Hashtable'
5352
{
54-
Get-Hashtable $Secret
53+
$SecretValue = Get-Hashtable $Secret
5554
}
5655
Default
5756
{

src/KeyVault/KeyVault/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Added missing return objects of `Get-Secret` in SecretManagement module
2122

2223
## Version 3.2.0
2324
* Supported "all" as an option when setting key vault access policies

0 commit comments

Comments
 (0)