From 180e059af972b9575a950e0c1e98725ed03f8dd2 Mon Sep 17 00:00:00 2001 From: Beisi Zhou Date: Wed, 1 Jun 2022 15:04:29 +0800 Subject: [PATCH] Provide detailed description for parameter CertificateString in Import-AzKeyVaultCertificate (#18348) --- .../KeyVault/Commands/ImportAzureKeyVaultCertificate.cs | 4 ++-- src/KeyVault/KeyVault/help/Import-AzKeyVaultCertificate.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/KeyVault/KeyVault/Commands/ImportAzureKeyVaultCertificate.cs b/src/KeyVault/KeyVault/Commands/ImportAzureKeyVaultCertificate.cs index d496b40dcbcf..667d4144ca9d 100644 --- a/src/KeyVault/KeyVault/Commands/ImportAzureKeyVaultCertificate.cs +++ b/src/KeyVault/KeyVault/Commands/ImportAzureKeyVaultCertificate.cs @@ -78,11 +78,11 @@ public class ImportAzureKeyVaultCertificate : KeyVaultCmdletBase public string FilePath { get; set; } /// - /// Certificate as a string + /// Base64 encoded representation of the certificate object to import /// [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; } /// diff --git a/src/KeyVault/KeyVault/help/Import-AzKeyVaultCertificate.md b/src/KeyVault/KeyVault/help/Import-AzKeyVaultCertificate.md index c2893cde50f1..9338144e3431 100644 --- a/src/KeyVault/KeyVault/help/Import-AzKeyVaultCertificate.md +++ b/src/KeyVault/KeyVault/help/Import-AzKeyVaultCertificate.md @@ -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