Class Certificate
Manages a Key Vault Certificate.
Inherited Members
Namespace: Pulumi.Azure.KeyVault
Assembly: Pulumi.Azure.dll
Syntax
public class Certificate : CustomResource
Constructors
View SourceCertificate(String, CertificateArgs, CustomResourceOptions)
Create a Certificate resource with the given unique name, arguments, and options.
Declaration
public Certificate(string name, CertificateArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| CertificateArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCertificateData
The raw Key Vault Certificate data represented as a hexadecimal string.
Declaration
public Output<string> CertificateData { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CertificatePolicy
A certificate_policy block as defined below.
Declaration
public Output<CertificateCertificatePolicy> CertificatePolicy { get; }
Property Value
| Type | Description |
|---|---|
| Output<CertificateCertificatePolicy> |
KeyVaultCertificate
A certificate block as defined below, used to Import an existing certificate.
Declaration
public Output<CertificateCertificate> KeyVaultCertificate { get; }
Property Value
| Type | Description |
|---|---|
| Output<CertificateCertificate> |
KeyVaultId
The ID of the Key Vault where the Certificate should be created.
Declaration
public Output<string> KeyVaultId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecretId
The ID of the associated Key Vault Secret.
Declaration
public Output<string> SecretId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Thumbprint
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
Declaration
public Output<string> Thumbprint { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Version
The current version of the Key Vault Certificate.
Declaration
public Output<string> Version { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, CertificateState, CustomResourceOptions)
Get an existing Certificate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Certificate Get(string name, Input<string> id, CertificateState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| CertificateState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Certificate |