IKeyVaultDataServiceClient.ImportCertificate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ImportCertificate(String, String, X509Certificate2Collection, IDictionary<String,String>)
public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificate ImportCertificate (string vaultName, string certName, System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificateCollection, System.Collections.Generic.IDictionary<string,string> tags);
abstract member ImportCertificate : string * string * System.Security.Cryptography.X509Certificates.X509Certificate2Collection * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificate
Public Function ImportCertificate (vaultName As String, certName As String, certificateCollection As X509Certificate2Collection, tags As IDictionary(Of String, String)) As PSKeyVaultCertificate
Parameters
- vaultName
- String
- certName
- String
- certificateCollection
- X509Certificate2Collection
- tags
- IDictionary<String,String>
Returns
Applies to
ImportCertificate(String, String, String, SecureString, IDictionary<String,String>)
public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificate ImportCertificate (string vaultName, string certName, string base64CertColl, System.Security.SecureString certPassword, System.Collections.Generic.IDictionary<string,string> tags);
abstract member ImportCertificate : string * string * string * System.Security.SecureString * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificate
Public Function ImportCertificate (vaultName As String, certName As String, base64CertColl As String, certPassword As SecureString, tags As IDictionary(Of String, String)) As PSKeyVaultCertificate
Parameters
- vaultName
- String
- certName
- String
- base64CertColl
- String
- certPassword
- SecureString
- tags
- IDictionary<String,String>
Returns
Applies to
ImportCertificate(String, String, Byte[], SecureString, IDictionary<String,String>, String, PSKeyVaultCertificatePolicy)
public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificate ImportCertificate (string vaultName, string certName, byte[] certificate, System.Security.SecureString certPassword, System.Collections.Generic.IDictionary<string,string> tags, string contentType = "application/x-pkcs12", Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificatePolicy certPolicy = default);
abstract member ImportCertificate : string * string * byte[] * System.Security.SecureString * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificatePolicy -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificate
Public Function ImportCertificate (vaultName As String, certName As String, certificate As Byte(), certPassword As SecureString, tags As IDictionary(Of String, String), Optional contentType As String = "application/x-pkcs12", Optional certPolicy As PSKeyVaultCertificatePolicy = Nothing) As PSKeyVaultCertificate
Parameters
- vaultName
- String
- certName
- String
- certificate
- Byte[]
- certPassword
- SecureString
- tags
- IDictionary<String,String>
- contentType
- String
- certPolicy
- PSKeyVaultCertificatePolicy
Returns
Applies to
ImportCertificate(String, String, X509Certificate2Collection, SecureString, IDictionary<String,String>, String, PSKeyVaultCertificatePolicy)
public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificate ImportCertificate (string vaultName, string certName, System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificateCollection, System.Security.SecureString certPassword, System.Collections.Generic.IDictionary<string,string> tags, string contentType = "application/x-pkcs12", Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificatePolicy certPolicy = default);
abstract member ImportCertificate : string * string * System.Security.Cryptography.X509Certificates.X509Certificate2Collection * System.Security.SecureString * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificatePolicy -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificate
Public Function ImportCertificate (vaultName As String, certName As String, certificateCollection As X509Certificate2Collection, certPassword As SecureString, tags As IDictionary(Of String, String), Optional contentType As String = "application/x-pkcs12", Optional certPolicy As PSKeyVaultCertificatePolicy = Nothing) As PSKeyVaultCertificate
Parameters
- vaultName
- String
- certName
- String
- certificateCollection
- X509Certificate2Collection
- certPassword
- SecureString
- tags
- IDictionary<String,String>
- contentType
- String
- certPolicy
- PSKeyVaultCertificatePolicy
Returns
Applies to
ImportCertificate(String, String, String, SecureString, IDictionary<String,String>, String, PSKeyVaultCertificatePolicy)
public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificate ImportCertificate (string vaultName, string certName, string base64CertString, System.Security.SecureString certPassword, System.Collections.Generic.IDictionary<string,string> tags, string contentType = "application/x-pkcs12", Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificatePolicy certPolicy = default);
abstract member ImportCertificate : string * string * string * System.Security.SecureString * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificatePolicy -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificate
Public Function ImportCertificate (vaultName As String, certName As String, base64CertString As String, certPassword As SecureString, tags As IDictionary(Of String, String), Optional contentType As String = "application/x-pkcs12", Optional certPolicy As PSKeyVaultCertificatePolicy = Nothing) As PSKeyVaultCertificate
Parameters
- vaultName
- String
- certName
- String
- base64CertString
- String
- certPassword
- SecureString
- tags
- IDictionary<String,String>
- contentType
- String
- certPolicy
- PSKeyVaultCertificatePolicy