Skip to content

Commit

Permalink
Provide detailed description for parameter CertificateString in Impor…
Browse files Browse the repository at this point in the history
…t-AzKeyVaultCertificate (#18348)
  • Loading branch information
BethanyZhou authored Jun 1, 2022
1 parent 344958f commit 180e059
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ public class ImportAzureKeyVaultCertificate : KeyVaultCmdletBase
public string FilePath { get; set; }

/// <summary>
/// Certificate as a string
/// Base64 encoded representation of the certificate object to import
/// </summary>
[Parameter(Mandatory = true,
ParameterSetName = ImportWithPrivateKeyFromStringParameterSet,
HelpMessage = "The certificate and private key to add to key vault as a string.")]
HelpMessage = "Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.")]
public string CertificateString { get; set; }

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/KeyVault/KeyVault/help/Import-AzKeyVaultCertificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Accept wildcard characters: False
```
### -CertificateString
Specifies a certificate string.
Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key.
```yaml
Type: System.String
Expand Down

0 comments on commit 180e059

Please sign in to comment.