1. Packages
  2. Azure Classic
  3. API Docs
  4. keyvault
  5. getCertificate

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.keyvault.getCertificate

Explore with Pulumi AI

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

Use this data source to access information about an existing Key Vault Certificate.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.keyvault.getKeyVault({
    name: "examplekv",
    resourceGroupName: "some-resource-group",
});
const exampleGetCertificate = example.then(example => azure.keyvault.getCertificate({
    name: "secret-sauce",
    keyVaultId: example.id,
}));
export const certificateThumbprint = exampleGetCertificate.then(exampleGetCertificate => exampleGetCertificate.thumbprint);
Copy
import pulumi
import pulumi_azure as azure

example = azure.keyvault.get_key_vault(name="examplekv",
    resource_group_name="some-resource-group")
example_get_certificate = azure.keyvault.get_certificate(name="secret-sauce",
    key_vault_id=example.id)
pulumi.export("certificateThumbprint", example_get_certificate.thumbprint)
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/keyvault"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := keyvault.LookupKeyVault(ctx, &keyvault.LookupKeyVaultArgs{
			Name:              "examplekv",
			ResourceGroupName: "some-resource-group",
		}, nil)
		if err != nil {
			return err
		}
		exampleGetCertificate, err := keyvault.LookupCertificate(ctx, &keyvault.LookupCertificateArgs{
			Name:       "secret-sauce",
			KeyVaultId: example.Id,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("certificateThumbprint", exampleGetCertificate.Thumbprint)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = Azure.KeyVault.GetKeyVault.Invoke(new()
    {
        Name = "examplekv",
        ResourceGroupName = "some-resource-group",
    });

    var exampleGetCertificate = Azure.KeyVault.GetCertificate.Invoke(new()
    {
        Name = "secret-sauce",
        KeyVaultId = example.Apply(getKeyVaultResult => getKeyVaultResult.Id),
    });

    return new Dictionary<string, object?>
    {
        ["certificateThumbprint"] = exampleGetCertificate.Apply(getCertificateResult => getCertificateResult.Thumbprint),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.keyvault.KeyvaultFunctions;
import com.pulumi.azure.keyvault.inputs.GetKeyVaultArgs;
import com.pulumi.azure.keyvault.inputs.GetCertificateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = KeyvaultFunctions.getKeyVault(GetKeyVaultArgs.builder()
            .name("examplekv")
            .resourceGroupName("some-resource-group")
            .build());

        final var exampleGetCertificate = KeyvaultFunctions.getCertificate(GetCertificateArgs.builder()
            .name("secret-sauce")
            .keyVaultId(example.applyValue(getKeyVaultResult -> getKeyVaultResult.id()))
            .build());

        ctx.export("certificateThumbprint", exampleGetCertificate.applyValue(getCertificateResult -> getCertificateResult.thumbprint()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:keyvault:getKeyVault
      arguments:
        name: examplekv
        resourceGroupName: some-resource-group
  exampleGetCertificate:
    fn::invoke:
      function: azure:keyvault:getCertificate
      arguments:
        name: secret-sauce
        keyVaultId: ${example.id}
outputs:
  certificateThumbprint: ${exampleGetCertificate.thumbprint}
Copy

Using getCertificate

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCertificate(args: GetCertificateArgs, opts?: InvokeOptions): Promise<GetCertificateResult>
function getCertificateOutput(args: GetCertificateOutputArgs, opts?: InvokeOptions): Output<GetCertificateResult>
Copy
def get_certificate(key_vault_id: Optional[str] = None,
                    name: Optional[str] = None,
                    version: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCertificateResult
def get_certificate_output(key_vault_id: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    version: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetCertificateResult]
Copy
func LookupCertificate(ctx *Context, args *LookupCertificateArgs, opts ...InvokeOption) (*LookupCertificateResult, error)
func LookupCertificateOutput(ctx *Context, args *LookupCertificateOutputArgs, opts ...InvokeOption) LookupCertificateResultOutput
Copy

> Note: This function is named LookupCertificate in the Go SDK.

public static class GetCertificate 
{
    public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions? opts = null)
    public static Output<GetCertificateResult> Invoke(GetCertificateInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
public static Output<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:keyvault/getCertificate:getCertificate
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

KeyVaultId This property is required. string
Specifies the ID of the Key Vault instance where the Secret resides, available on the azure.keyvault.KeyVault Data Source / Resource.
Name This property is required. string
Specifies the name of the Key Vault Certificate.
Version string

Specifies the version of the certificate to look up. (Defaults to latest)

NOTE: The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.

KeyVaultId This property is required. string
Specifies the ID of the Key Vault instance where the Secret resides, available on the azure.keyvault.KeyVault Data Source / Resource.
Name This property is required. string
Specifies the name of the Key Vault Certificate.
Version string

Specifies the version of the certificate to look up. (Defaults to latest)

NOTE: The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.

keyVaultId This property is required. String
Specifies the ID of the Key Vault instance where the Secret resides, available on the azure.keyvault.KeyVault Data Source / Resource.
name This property is required. String
Specifies the name of the Key Vault Certificate.
version String

Specifies the version of the certificate to look up. (Defaults to latest)

NOTE: The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.

keyVaultId This property is required. string
Specifies the ID of the Key Vault instance where the Secret resides, available on the azure.keyvault.KeyVault Data Source / Resource.
name This property is required. string
Specifies the name of the Key Vault Certificate.
version string

Specifies the version of the certificate to look up. (Defaults to latest)

NOTE: The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.

key_vault_id This property is required. str
Specifies the ID of the Key Vault instance where the Secret resides, available on the azure.keyvault.KeyVault Data Source / Resource.
name This property is required. str
Specifies the name of the Key Vault Certificate.
version str

Specifies the version of the certificate to look up. (Defaults to latest)

NOTE: The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.

keyVaultId This property is required. String
Specifies the ID of the Key Vault instance where the Secret resides, available on the azure.keyvault.KeyVault Data Source / Resource.
name This property is required. String
Specifies the name of the Key Vault Certificate.
version String

Specifies the version of the certificate to look up. (Defaults to latest)

NOTE: The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.

getCertificate Result

The following output properties are available:

CertificateData string
The raw Key Vault Certificate data represented as a hexadecimal string.
CertificateDataBase64 string
The raw Key Vault Certificate data represented as a base64 string.
CertificatePolicies List<GetCertificateCertificatePolicy>
A certificate_policy block as defined below.
Expires string
Expiry date of certificate in RFC3339 format.
Id string
The provider-assigned unique ID for this managed resource.
KeyVaultId string
Name string
The name of the Certificate Issuer.
NotBefore string
Not Before date of certificate in RFC3339 format.
ResourceManagerId string
The (Versioned) ID for this Key Vault Certificate. This property points to a specific version of a Key Vault Certificate, as such using this won't auto-rotate values if used in other Azure Services.
ResourceManagerVersionlessId string
The Versionless ID of the Key Vault Certificate. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Certificate is updated.
SecretId string
The ID of the associated Key Vault Secret.
Tags Dictionary<string, string>
A mapping of tags to assign to the resource.
Thumbprint string
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
Version string
The current version of the Key Vault Certificate.
VersionlessId string
The Base ID of the Key Vault Certificate.
VersionlessSecretId string
The Base ID of the Key Vault Secret.
CertificateData string
The raw Key Vault Certificate data represented as a hexadecimal string.
CertificateDataBase64 string
The raw Key Vault Certificate data represented as a base64 string.
CertificatePolicies []GetCertificateCertificatePolicy
A certificate_policy block as defined below.
Expires string
Expiry date of certificate in RFC3339 format.
Id string
The provider-assigned unique ID for this managed resource.
KeyVaultId string
Name string
The name of the Certificate Issuer.
NotBefore string
Not Before date of certificate in RFC3339 format.
ResourceManagerId string
The (Versioned) ID for this Key Vault Certificate. This property points to a specific version of a Key Vault Certificate, as such using this won't auto-rotate values if used in other Azure Services.
ResourceManagerVersionlessId string
The Versionless ID of the Key Vault Certificate. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Certificate is updated.
SecretId string
The ID of the associated Key Vault Secret.
Tags map[string]string
A mapping of tags to assign to the resource.
Thumbprint string
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
Version string
The current version of the Key Vault Certificate.
VersionlessId string
The Base ID of the Key Vault Certificate.
VersionlessSecretId string
The Base ID of the Key Vault Secret.
certificateData String
The raw Key Vault Certificate data represented as a hexadecimal string.
certificateDataBase64 String
The raw Key Vault Certificate data represented as a base64 string.
certificatePolicies List<GetCertificateCertificatePolicy>
A certificate_policy block as defined below.
expires String
Expiry date of certificate in RFC3339 format.
id String
The provider-assigned unique ID for this managed resource.
keyVaultId String
name String
The name of the Certificate Issuer.
notBefore String
Not Before date of certificate in RFC3339 format.
resourceManagerId String
The (Versioned) ID for this Key Vault Certificate. This property points to a specific version of a Key Vault Certificate, as such using this won't auto-rotate values if used in other Azure Services.
resourceManagerVersionlessId String
The Versionless ID of the Key Vault Certificate. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Certificate is updated.
secretId String
The ID of the associated Key Vault Secret.
tags Map<String,String>
A mapping of tags to assign to the resource.
thumbprint String
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
version String
The current version of the Key Vault Certificate.
versionlessId String
The Base ID of the Key Vault Certificate.
versionlessSecretId String
The Base ID of the Key Vault Secret.
certificateData string
The raw Key Vault Certificate data represented as a hexadecimal string.
certificateDataBase64 string
The raw Key Vault Certificate data represented as a base64 string.
certificatePolicies GetCertificateCertificatePolicy[]
A certificate_policy block as defined below.
expires string
Expiry date of certificate in RFC3339 format.
id string
The provider-assigned unique ID for this managed resource.
keyVaultId string
name string
The name of the Certificate Issuer.
notBefore string
Not Before date of certificate in RFC3339 format.
resourceManagerId string
The (Versioned) ID for this Key Vault Certificate. This property points to a specific version of a Key Vault Certificate, as such using this won't auto-rotate values if used in other Azure Services.
resourceManagerVersionlessId string
The Versionless ID of the Key Vault Certificate. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Certificate is updated.
secretId string
The ID of the associated Key Vault Secret.
tags {[key: string]: string}
A mapping of tags to assign to the resource.
thumbprint string
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
version string
The current version of the Key Vault Certificate.
versionlessId string
The Base ID of the Key Vault Certificate.
versionlessSecretId string
The Base ID of the Key Vault Secret.
certificate_data str
The raw Key Vault Certificate data represented as a hexadecimal string.
certificate_data_base64 str
The raw Key Vault Certificate data represented as a base64 string.
certificate_policies Sequence[GetCertificateCertificatePolicy]
A certificate_policy block as defined below.
expires str
Expiry date of certificate in RFC3339 format.
id str
The provider-assigned unique ID for this managed resource.
key_vault_id str
name str
The name of the Certificate Issuer.
not_before str
Not Before date of certificate in RFC3339 format.
resource_manager_id str
The (Versioned) ID for this Key Vault Certificate. This property points to a specific version of a Key Vault Certificate, as such using this won't auto-rotate values if used in other Azure Services.
resource_manager_versionless_id str
The Versionless ID of the Key Vault Certificate. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Certificate is updated.
secret_id str
The ID of the associated Key Vault Secret.
tags Mapping[str, str]
A mapping of tags to assign to the resource.
thumbprint str
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
version str
The current version of the Key Vault Certificate.
versionless_id str
The Base ID of the Key Vault Certificate.
versionless_secret_id str
The Base ID of the Key Vault Secret.
certificateData String
The raw Key Vault Certificate data represented as a hexadecimal string.
certificateDataBase64 String
The raw Key Vault Certificate data represented as a base64 string.
certificatePolicies List<Property Map>
A certificate_policy block as defined below.
expires String
Expiry date of certificate in RFC3339 format.
id String
The provider-assigned unique ID for this managed resource.
keyVaultId String
name String
The name of the Certificate Issuer.
notBefore String
Not Before date of certificate in RFC3339 format.
resourceManagerId String
The (Versioned) ID for this Key Vault Certificate. This property points to a specific version of a Key Vault Certificate, as such using this won't auto-rotate values if used in other Azure Services.
resourceManagerVersionlessId String
The Versionless ID of the Key Vault Certificate. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Certificate is updated.
secretId String
The ID of the associated Key Vault Secret.
tags Map<String>
A mapping of tags to assign to the resource.
thumbprint String
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
version String
The current version of the Key Vault Certificate.
versionlessId String
The Base ID of the Key Vault Certificate.
versionlessSecretId String
The Base ID of the Key Vault Secret.

Supporting Types

GetCertificateCertificatePolicy

IssuerParameters This property is required. List<GetCertificateCertificatePolicyIssuerParameter>
A issuer_parameters block as defined below.
KeyProperties This property is required. List<GetCertificateCertificatePolicyKeyProperty>
A key_properties block as defined below.
LifetimeActions This property is required. List<GetCertificateCertificatePolicyLifetimeAction>
A lifetime_action block as defined below.
SecretProperties This property is required. List<GetCertificateCertificatePolicySecretProperty>
A secret_properties block as defined below.
X509CertificateProperties This property is required. List<GetCertificateCertificatePolicyX509CertificateProperty>
An x509_certificate_properties block as defined below.
IssuerParameters This property is required. []GetCertificateCertificatePolicyIssuerParameter
A issuer_parameters block as defined below.
KeyProperties This property is required. []GetCertificateCertificatePolicyKeyProperty
A key_properties block as defined below.
LifetimeActions This property is required. []GetCertificateCertificatePolicyLifetimeAction
A lifetime_action block as defined below.
SecretProperties This property is required. []GetCertificateCertificatePolicySecretProperty
A secret_properties block as defined below.
X509CertificateProperties This property is required. []GetCertificateCertificatePolicyX509CertificateProperty
An x509_certificate_properties block as defined below.
issuerParameters This property is required. List<GetCertificateCertificatePolicyIssuerParameter>
A issuer_parameters block as defined below.
keyProperties This property is required. List<GetCertificateCertificatePolicyKeyProperty>
A key_properties block as defined below.
lifetimeActions This property is required. List<GetCertificateCertificatePolicyLifetimeAction>
A lifetime_action block as defined below.
secretProperties This property is required. List<GetCertificateCertificatePolicySecretProperty>
A secret_properties block as defined below.
x509CertificateProperties This property is required. List<GetCertificateCertificatePolicyX509CertificateProperty>
An x509_certificate_properties block as defined below.
issuerParameters This property is required. GetCertificateCertificatePolicyIssuerParameter[]
A issuer_parameters block as defined below.
keyProperties This property is required. GetCertificateCertificatePolicyKeyProperty[]
A key_properties block as defined below.
lifetimeActions This property is required. GetCertificateCertificatePolicyLifetimeAction[]
A lifetime_action block as defined below.
secretProperties This property is required. GetCertificateCertificatePolicySecretProperty[]
A secret_properties block as defined below.
x509CertificateProperties This property is required. GetCertificateCertificatePolicyX509CertificateProperty[]
An x509_certificate_properties block as defined below.
issuer_parameters This property is required. Sequence[GetCertificateCertificatePolicyIssuerParameter]
A issuer_parameters block as defined below.
key_properties This property is required. Sequence[GetCertificateCertificatePolicyKeyProperty]
A key_properties block as defined below.
lifetime_actions This property is required. Sequence[GetCertificateCertificatePolicyLifetimeAction]
A lifetime_action block as defined below.
secret_properties This property is required. Sequence[GetCertificateCertificatePolicySecretProperty]
A secret_properties block as defined below.
x509_certificate_properties This property is required. Sequence[GetCertificateCertificatePolicyX509CertificateProperty]
An x509_certificate_properties block as defined below.
issuerParameters This property is required. List<Property Map>
A issuer_parameters block as defined below.
keyProperties This property is required. List<Property Map>
A key_properties block as defined below.
lifetimeActions This property is required. List<Property Map>
A lifetime_action block as defined below.
secretProperties This property is required. List<Property Map>
A secret_properties block as defined below.
x509CertificateProperties This property is required. List<Property Map>
An x509_certificate_properties block as defined below.

GetCertificateCertificatePolicyIssuerParameter

Name This property is required. string
Specifies the name of the Key Vault Certificate.
Name This property is required. string
Specifies the name of the Key Vault Certificate.
name This property is required. String
Specifies the name of the Key Vault Certificate.
name This property is required. string
Specifies the name of the Key Vault Certificate.
name This property is required. str
Specifies the name of the Key Vault Certificate.
name This property is required. String
Specifies the name of the Key Vault Certificate.

GetCertificateCertificatePolicyKeyProperty

Curve This property is required. string
Exportable This property is required. bool
Is this Certificate Exportable?
KeySize This property is required. int
The size of the Key used in the Certificate.
KeyType This property is required. string
Specifies the Type of Key, for example RSA.
ReuseKey This property is required. bool
Is the key reusable?
Curve This property is required. string
Exportable This property is required. bool
Is this Certificate Exportable?
KeySize This property is required. int
The size of the Key used in the Certificate.
KeyType This property is required. string
Specifies the Type of Key, for example RSA.
ReuseKey This property is required. bool
Is the key reusable?
curve This property is required. String
exportable This property is required. Boolean
Is this Certificate Exportable?
keySize This property is required. Integer
The size of the Key used in the Certificate.
keyType This property is required. String
Specifies the Type of Key, for example RSA.
reuseKey This property is required. Boolean
Is the key reusable?
curve This property is required. string
exportable This property is required. boolean
Is this Certificate Exportable?
keySize This property is required. number
The size of the Key used in the Certificate.
keyType This property is required. string
Specifies the Type of Key, for example RSA.
reuseKey This property is required. boolean
Is the key reusable?
curve This property is required. str
exportable This property is required. bool
Is this Certificate Exportable?
key_size This property is required. int
The size of the Key used in the Certificate.
key_type This property is required. str
Specifies the Type of Key, for example RSA.
reuse_key This property is required. bool
Is the key reusable?
curve This property is required. String
exportable This property is required. Boolean
Is this Certificate Exportable?
keySize This property is required. Number
The size of the Key used in the Certificate.
keyType This property is required. String
Specifies the Type of Key, for example RSA.
reuseKey This property is required. Boolean
Is the key reusable?

GetCertificateCertificatePolicyLifetimeAction

Actions This property is required. List<GetCertificateCertificatePolicyLifetimeActionAction>
A action block as defined below.
Triggers This property is required. List<GetCertificateCertificatePolicyLifetimeActionTrigger>
A trigger block as defined below.
Actions This property is required. []GetCertificateCertificatePolicyLifetimeActionAction
A action block as defined below.
Triggers This property is required. []GetCertificateCertificatePolicyLifetimeActionTrigger
A trigger block as defined below.
actions This property is required. List<GetCertificateCertificatePolicyLifetimeActionAction>
A action block as defined below.
triggers This property is required. List<GetCertificateCertificatePolicyLifetimeActionTrigger>
A trigger block as defined below.
actions This property is required. GetCertificateCertificatePolicyLifetimeActionAction[]
A action block as defined below.
triggers This property is required. GetCertificateCertificatePolicyLifetimeActionTrigger[]
A trigger block as defined below.
actions This property is required. Sequence[GetCertificateCertificatePolicyLifetimeActionAction]
A action block as defined below.
triggers This property is required. Sequence[GetCertificateCertificatePolicyLifetimeActionTrigger]
A trigger block as defined below.
actions This property is required. List<Property Map>
A action block as defined below.
triggers This property is required. List<Property Map>
A trigger block as defined below.

GetCertificateCertificatePolicyLifetimeActionAction

ActionType This property is required. string
The Type of action to be performed when the lifetime trigger is triggerec.
ActionType This property is required. string
The Type of action to be performed when the lifetime trigger is triggerec.
actionType This property is required. String
The Type of action to be performed when the lifetime trigger is triggerec.
actionType This property is required. string
The Type of action to be performed when the lifetime trigger is triggerec.
action_type This property is required. str
The Type of action to be performed when the lifetime trigger is triggerec.
actionType This property is required. String
The Type of action to be performed when the lifetime trigger is triggerec.

GetCertificateCertificatePolicyLifetimeActionTrigger

DaysBeforeExpiry This property is required. int
The number of days before the Certificate expires that the action associated with this Trigger should run.
LifetimePercentage This property is required. int
The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
DaysBeforeExpiry This property is required. int
The number of days before the Certificate expires that the action associated with this Trigger should run.
LifetimePercentage This property is required. int
The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
daysBeforeExpiry This property is required. Integer
The number of days before the Certificate expires that the action associated with this Trigger should run.
lifetimePercentage This property is required. Integer
The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
daysBeforeExpiry This property is required. number
The number of days before the Certificate expires that the action associated with this Trigger should run.
lifetimePercentage This property is required. number
The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
days_before_expiry This property is required. int
The number of days before the Certificate expires that the action associated with this Trigger should run.
lifetime_percentage This property is required. int
The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
daysBeforeExpiry This property is required. Number
The number of days before the Certificate expires that the action associated with this Trigger should run.
lifetimePercentage This property is required. Number
The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.

GetCertificateCertificatePolicySecretProperty

ContentType This property is required. string
The Content-Type of the Certificate, for example application/x-pkcs12 for a PFX or application/x-pem-file for a PEM.
ContentType This property is required. string
The Content-Type of the Certificate, for example application/x-pkcs12 for a PFX or application/x-pem-file for a PEM.
contentType This property is required. String
The Content-Type of the Certificate, for example application/x-pkcs12 for a PFX or application/x-pem-file for a PEM.
contentType This property is required. string
The Content-Type of the Certificate, for example application/x-pkcs12 for a PFX or application/x-pem-file for a PEM.
content_type This property is required. str
The Content-Type of the Certificate, for example application/x-pkcs12 for a PFX or application/x-pem-file for a PEM.
contentType This property is required. String
The Content-Type of the Certificate, for example application/x-pkcs12 for a PFX or application/x-pem-file for a PEM.

GetCertificateCertificatePolicyX509CertificateProperty

ExtendedKeyUsages This property is required. List<string>
A list of Extended/Enhanced Key Usages.
KeyUsages This property is required. List<string>
A list of uses associated with this Key.
Subject This property is required. string
The Certificate's Subject.
SubjectAlternativeNames This property is required. List<GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName>
A subject_alternative_names block as defined below.
ValidityInMonths This property is required. int
The Certificates Validity Period in Months.
ExtendedKeyUsages This property is required. []string
A list of Extended/Enhanced Key Usages.
KeyUsages This property is required. []string
A list of uses associated with this Key.
Subject This property is required. string
The Certificate's Subject.
SubjectAlternativeNames This property is required. []GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName
A subject_alternative_names block as defined below.
ValidityInMonths This property is required. int
The Certificates Validity Period in Months.
extendedKeyUsages This property is required. List<String>
A list of Extended/Enhanced Key Usages.
keyUsages This property is required. List<String>
A list of uses associated with this Key.
subject This property is required. String
The Certificate's Subject.
subjectAlternativeNames This property is required. List<GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName>
A subject_alternative_names block as defined below.
validityInMonths This property is required. Integer
The Certificates Validity Period in Months.
extendedKeyUsages This property is required. string[]
A list of Extended/Enhanced Key Usages.
keyUsages This property is required. string[]
A list of uses associated with this Key.
subject This property is required. string
The Certificate's Subject.
subjectAlternativeNames This property is required. GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName[]
A subject_alternative_names block as defined below.
validityInMonths This property is required. number
The Certificates Validity Period in Months.
extended_key_usages This property is required. Sequence[str]
A list of Extended/Enhanced Key Usages.
key_usages This property is required. Sequence[str]
A list of uses associated with this Key.
subject This property is required. str
The Certificate's Subject.
subject_alternative_names This property is required. Sequence[GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName]
A subject_alternative_names block as defined below.
validity_in_months This property is required. int
The Certificates Validity Period in Months.
extendedKeyUsages This property is required. List<String>
A list of Extended/Enhanced Key Usages.
keyUsages This property is required. List<String>
A list of uses associated with this Key.
subject This property is required. String
The Certificate's Subject.
subjectAlternativeNames This property is required. List<Property Map>
A subject_alternative_names block as defined below.
validityInMonths This property is required. Number
The Certificates Validity Period in Months.

GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName

DnsNames This property is required. List<string>
A list of alternative DNS names (FQDNs) identified by the Certificate.
Emails This property is required. List<string>
A list of email addresses identified by this Certificate.
Upns This property is required. List<string>
A list of User Principal Names identified by the Certificate.
DnsNames This property is required. []string
A list of alternative DNS names (FQDNs) identified by the Certificate.
Emails This property is required. []string
A list of email addresses identified by this Certificate.
Upns This property is required. []string
A list of User Principal Names identified by the Certificate.
dnsNames This property is required. List<String>
A list of alternative DNS names (FQDNs) identified by the Certificate.
emails This property is required. List<String>
A list of email addresses identified by this Certificate.
upns This property is required. List<String>
A list of User Principal Names identified by the Certificate.
dnsNames This property is required. string[]
A list of alternative DNS names (FQDNs) identified by the Certificate.
emails This property is required. string[]
A list of email addresses identified by this Certificate.
upns This property is required. string[]
A list of User Principal Names identified by the Certificate.
dns_names This property is required. Sequence[str]
A list of alternative DNS names (FQDNs) identified by the Certificate.
emails This property is required. Sequence[str]
A list of email addresses identified by this Certificate.
upns This property is required. Sequence[str]
A list of User Principal Names identified by the Certificate.
dnsNames This property is required. List<String>
A list of alternative DNS names (FQDNs) identified by the Certificate.
emails This property is required. List<String>
A list of email addresses identified by this Certificate.
upns This property is required. List<String>
A list of User Principal Names identified by the Certificate.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi