File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/ResourceManager/KeyVault/Commands.KeyVault Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ internal PSDeletedKeyVaultCertificate(DeletedCertificateBundle deletedCertificat
67
67
68
68
if ( deletedCertificateBundle . Tags != null )
69
69
{
70
- Tags = ( deletedCertificateBundle . Tags == null ) ? null : deletedCertificateBundle . Tags . ConvertToHashtable ( ) ;
70
+ Tags = deletedCertificateBundle . Tags . ConvertToHashtable ( ) ;
71
71
}
72
72
73
73
ScheduledPurgeDate = deletedCertificateBundle . ScheduledPurgeDate ;
@@ -123,7 +123,7 @@ internal PSDeletedKeyVaultCertificate(DeletedCertificateBundle deletedCertificat
123
123
124
124
if ( deletedCertificateBundle . Tags != null )
125
125
{
126
- Tags = ( deletedCertificateBundle . Tags == null ) ? null : deletedCertificateBundle . Tags . ConvertToHashtable ( ) ;
126
+ Tags = deletedCertificateBundle . Tags . ConvertToHashtable ( ) ;
127
127
}
128
128
129
129
ScheduledPurgeDate = deletedCertificateBundle . ScheduledPurgeDate ;
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ This command retrieves the secret named MySecret from the key vaultnamed MyKeyVa
59
59
### Example 3: Back up a secret previously retrieved to a specified file name
60
60
``` powershell
61
61
PS C:\> $secret = Get-AzureKeyVaultSecret -VaultName 'MyKeyVault' -Name 'MySecret'
62
- PS C:\> Backup-AzureKeyVaultSecret -InputObject $secret -OutputFile 'C:\Backup.blob'
62
+ PS C:\> Backup-AzureKeyVaultSecret -Secret $secret -OutputFile 'C:\Backup.blob'
63
63
64
64
C:\Backup.blob
65
65
```
You can’t perform that action at this time.
0 commit comments