File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/ResourceManager/KeyVault/Commands.KeyVault/help Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ cmdlet creates a new version of that secret.
27
27
28
28
### Example 1: Modify the value of a secret using default attributes
29
29
```
30
- PS C:\>$Secret = ConvertTo-SecureString -String 'Password' -AsPlainText -Force
30
+ PS C:\> $Secret = ConvertTo-SecureString -String 'Password' -AsPlainText -Force
31
31
PS C:\> Set-AzureKeyVaultSecret -VaultName 'Contoso' -Name 'ITSecret' -SecretValue $Secret
32
32
```
33
33
@@ -40,7 +40,7 @@ secret value becomes the value stored in $Secret.
40
40
41
41
### Example 2: Modify the value of a secret using custom attributes
42
42
```
43
- PS C:\>$Secret = ConvertTo-SecureString -String 'Password' -AsPlainText -Force
43
+ PS C:\> $Secret = ConvertTo-SecureString -String 'Password' -AsPlainText -Force
44
44
PS C:\> $Expires = (Get-Date).AddYears(2).ToUniversalTime()
45
45
PS C:\> $NBF =(Get-Date).ToUniversalTime()
46
46
PS C:\> $Tags = @{ 'Severity' = 'medium'; 'IT' = null }
@@ -237,4 +237,4 @@ Microsoft.Azure.Commands.KeyVault.Models.Secret
237
237
238
238
[Get-AzureKeyVaultSecret](./Get-AzureKeyVaultSecret.md)
239
239
240
- [Remove-AzureKeyVaultSecret](./Remove-AzureKeyVaultSecret.md)
240
+ [Remove-AzureKeyVaultSecret](./Remove-AzureKeyVaultSecret.md)
You can’t perform that action at this time.
0 commit comments