Share via


CertificatePolicy Constructors

Definition

Overloads

CertificatePolicy()

Initializes a new instance of the CertificatePolicy class.

CertificatePolicy(String, KeyProperties, SecretProperties, X509CertificateProperties, IList<LifetimeAction>, IssuerParameters, CertificateAttributes)

Initializes a new instance of the CertificatePolicy class.

CertificatePolicy()

Source:
CertificatePolicy.cs

Initializes a new instance of the CertificatePolicy class.

public CertificatePolicy ();
Public Sub New ()

Applies to

CertificatePolicy(String, KeyProperties, SecretProperties, X509CertificateProperties, IList<LifetimeAction>, IssuerParameters, CertificateAttributes)

Source:
CertificatePolicy.cs

Initializes a new instance of the CertificatePolicy class.

public CertificatePolicy (string id = default, Microsoft.Azure.KeyVault.Models.KeyProperties keyProperties = default, Microsoft.Azure.KeyVault.Models.SecretProperties secretProperties = default, Microsoft.Azure.KeyVault.Models.X509CertificateProperties x509CertificateProperties = default, System.Collections.Generic.IList<Microsoft.Azure.KeyVault.Models.LifetimeAction> lifetimeActions = default, Microsoft.Azure.KeyVault.Models.IssuerParameters issuerParameters = default, Microsoft.Azure.KeyVault.Models.CertificateAttributes attributes = default);
new Microsoft.Azure.KeyVault.Models.CertificatePolicy : string * Microsoft.Azure.KeyVault.Models.KeyProperties * Microsoft.Azure.KeyVault.Models.SecretProperties * Microsoft.Azure.KeyVault.Models.X509CertificateProperties * System.Collections.Generic.IList<Microsoft.Azure.KeyVault.Models.LifetimeAction> * Microsoft.Azure.KeyVault.Models.IssuerParameters * Microsoft.Azure.KeyVault.Models.CertificateAttributes -> Microsoft.Azure.KeyVault.Models.CertificatePolicy
Public Sub New (Optional id As String = Nothing, Optional keyProperties As KeyProperties = Nothing, Optional secretProperties As SecretProperties = Nothing, Optional x509CertificateProperties As X509CertificateProperties = Nothing, Optional lifetimeActions As IList(Of LifetimeAction) = Nothing, Optional issuerParameters As IssuerParameters = Nothing, Optional attributes As CertificateAttributes = Nothing)

Parameters

id
String

The certificate id.

keyProperties
KeyProperties

Properties of the key backing a certificate.

secretProperties
SecretProperties

Properties of the secret backing a certificate.

x509CertificateProperties
X509CertificateProperties

Properties of the X509 component of a certificate.

lifetimeActions
IList<LifetimeAction>

Actions that will be performed by Key Vault over the lifetime of a certificate.

issuerParameters
IssuerParameters

Parameters for the issuer of the X509 component of a certificate.

attributes
CertificateAttributes

The certificate attributes.

Applies to