We recommend using Azure Native.
azure.keyvault.getCertificate
Explore with Pulumi AI
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);
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)
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
})
}
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),
};
});
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()));
}
}
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}
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>
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]
func LookupCertificate(ctx *Context, args *LookupCertificateArgs, opts ...InvokeOption) (*LookupCertificateResult, error)
func LookupCertificateOutput(ctx *Context, args *LookupCertificateOutputArgs, opts ...InvokeOption) LookupCertificateResultOutput
> 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)
}
public static CompletableFuture<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
public static Output<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
fn::invoke:
function: azure:keyvault/getCertificate:getCertificate
arguments:
# arguments dictionary
The following arguments are supported:
- Key
Vault Id 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. 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. 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. 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.
- key
Vault Id 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:
- Certificate
Data string - The raw Key Vault Certificate data represented as a hexadecimal string.
- Certificate
Data stringBase64 - The raw Key Vault Certificate data represented as a base64 string.
- Certificate
Policies List<GetCertificate Certificate Policy> - 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.
- Key
Vault stringId - Name string
- The name of the Certificate Issuer.
- Not
Before string - Not Before date of certificate in RFC3339 format.
- Resource
Manager stringId - 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 stringVersionless Id - 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 string - The ID of the associated Key Vault Secret.
- 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.
- Versionless
Id string - The Base ID of the Key Vault Certificate.
- Versionless
Secret stringId - The Base ID of the Key Vault Secret.
- Certificate
Data string - The raw Key Vault Certificate data represented as a hexadecimal string.
- Certificate
Data stringBase64 - The raw Key Vault Certificate data represented as a base64 string.
- Certificate
Policies []GetCertificate Certificate Policy - 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.
- Key
Vault stringId - Name string
- The name of the Certificate Issuer.
- Not
Before string - Not Before date of certificate in RFC3339 format.
- Resource
Manager stringId - 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 stringVersionless Id - 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 string - The ID of the associated Key Vault Secret.
- 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.
- Versionless
Id string - The Base ID of the Key Vault Certificate.
- Versionless
Secret stringId - The Base ID of the Key Vault Secret.
- certificate
Data String - The raw Key Vault Certificate data represented as a hexadecimal string.
- certificate
Data StringBase64 - The raw Key Vault Certificate data represented as a base64 string.
- certificate
Policies List<GetCertificate Certificate Policy> - 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.
- key
Vault StringId - name String
- The name of the Certificate Issuer.
- not
Before String - Not Before date of certificate in RFC3339 format.
- resource
Manager StringId - 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 StringVersionless Id - 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 String - The ID of the associated Key Vault Secret.
- 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.
- versionless
Id String - The Base ID of the Key Vault Certificate.
- versionless
Secret StringId - The Base ID of the Key Vault Secret.
- certificate
Data string - The raw Key Vault Certificate data represented as a hexadecimal string.
- certificate
Data stringBase64 - The raw Key Vault Certificate data represented as a base64 string.
- certificate
Policies GetCertificate Certificate Policy[] - 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.
- key
Vault stringId - name string
- The name of the Certificate Issuer.
- not
Before string - Not Before date of certificate in RFC3339 format.
- resource
Manager stringId - 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 stringVersionless Id - 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 string - The ID of the associated Key Vault Secret.
- {[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.
- versionless
Id string - The Base ID of the Key Vault Certificate.
- versionless
Secret stringId - The Base ID of the Key Vault Secret.
- certificate_
data str - The raw Key Vault Certificate data represented as a hexadecimal string.
- certificate_
data_ strbase64 - The raw Key Vault Certificate data represented as a base64 string.
- certificate_
policies Sequence[GetCertificate Certificate Policy] - 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_ strid - name str
- The name of the Certificate Issuer.
- not_
before str - Not Before date of certificate in RFC3339 format.
- resource_
manager_ strid - 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_ strversionless_ id - 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.
- 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_ strid - The Base ID of the Key Vault Secret.
- certificate
Data String - The raw Key Vault Certificate data represented as a hexadecimal string.
- certificate
Data StringBase64 - The raw Key Vault Certificate data represented as a base64 string.
- certificate
Policies 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.
- key
Vault StringId - name String
- The name of the Certificate Issuer.
- not
Before String - Not Before date of certificate in RFC3339 format.
- resource
Manager StringId - 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 StringVersionless Id - 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 String - The ID of the associated Key Vault Secret.
- 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.
- versionless
Id String - The Base ID of the Key Vault Certificate.
- versionless
Secret StringId - The Base ID of the Key Vault Secret.
Supporting Types
GetCertificateCertificatePolicy
- Issuer
Parameters This property is required. List<GetCertificate Certificate Policy Issuer Parameter> - A
issuer_parameters
block as defined below. - Key
Properties This property is required. List<GetCertificate Certificate Policy Key Property> - A
key_properties
block as defined below. - Lifetime
Actions This property is required. List<GetCertificate Certificate Policy Lifetime Action> - A
lifetime_action
block as defined below. - Secret
Properties This property is required. List<GetCertificate Certificate Policy Secret Property> - A
secret_properties
block as defined below. - X509Certificate
Properties This property is required. List<GetCertificate Certificate Policy X509Certificate Property> - An
x509_certificate_properties
block as defined below.
- Issuer
Parameters This property is required. []GetCertificate Certificate Policy Issuer Parameter - A
issuer_parameters
block as defined below. - Key
Properties This property is required. []GetCertificate Certificate Policy Key Property - A
key_properties
block as defined below. - Lifetime
Actions This property is required. []GetCertificate Certificate Policy Lifetime Action - A
lifetime_action
block as defined below. - Secret
Properties This property is required. []GetCertificate Certificate Policy Secret Property - A
secret_properties
block as defined below. - X509Certificate
Properties This property is required. []GetCertificate Certificate Policy X509Certificate Property - An
x509_certificate_properties
block as defined below.
- issuer
Parameters This property is required. List<GetCertificate Certificate Policy Issuer Parameter> - A
issuer_parameters
block as defined below. - key
Properties This property is required. List<GetCertificate Certificate Policy Key Property> - A
key_properties
block as defined below. - lifetime
Actions This property is required. List<GetCertificate Certificate Policy Lifetime Action> - A
lifetime_action
block as defined below. - secret
Properties This property is required. List<GetCertificate Certificate Policy Secret Property> - A
secret_properties
block as defined below. - x509Certificate
Properties This property is required. List<GetCertificate Certificate Policy X509Certificate Property> - An
x509_certificate_properties
block as defined below.
- issuer
Parameters This property is required. GetCertificate Certificate Policy Issuer Parameter[] - A
issuer_parameters
block as defined below. - key
Properties This property is required. GetCertificate Certificate Policy Key Property[] - A
key_properties
block as defined below. - lifetime
Actions This property is required. GetCertificate Certificate Policy Lifetime Action[] - A
lifetime_action
block as defined below. - secret
Properties This property is required. GetCertificate Certificate Policy Secret Property[] - A
secret_properties
block as defined below. - x509Certificate
Properties This property is required. GetCertificate Certificate Policy X509Certificate Property[] - An
x509_certificate_properties
block as defined below.
- issuer_
parameters This property is required. Sequence[GetCertificate Certificate Policy Issuer Parameter] - A
issuer_parameters
block as defined below. - key_
properties This property is required. Sequence[GetCertificate Certificate Policy Key Property] - A
key_properties
block as defined below. - lifetime_
actions This property is required. Sequence[GetCertificate Certificate Policy Lifetime Action] - A
lifetime_action
block as defined below. - secret_
properties This property is required. Sequence[GetCertificate Certificate Policy Secret Property] - A
secret_properties
block as defined below. - x509_
certificate_ properties This property is required. Sequence[GetCertificate Certificate Policy X509Certificate Property] - An
x509_certificate_properties
block as defined below.
- issuer
Parameters This property is required. List<Property Map> - A
issuer_parameters
block as defined below. - key
Properties This property is required. List<Property Map> - A
key_properties
block as defined below. - lifetime
Actions This property is required. List<Property Map> - A
lifetime_action
block as defined below. - secret
Properties This property is required. List<Property Map> - A
secret_properties
block as defined below. - x509Certificate
Properties 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?
- Key
Size This property is required. int - The size of the Key used in the Certificate.
- Key
Type This property is required. string - 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. 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. string - 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?
- key
Size This property is required. Integer - The size of the Key used in the Certificate.
- key
Type This property is required. String - Specifies the Type of Key, for example
RSA
. - reuse
Key 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?
- key
Size This property is required. number - The size of the Key used in the Certificate.
- key
Type This property is required. string - Specifies the Type of Key, for example
RSA
. - reuse
Key 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?
- key
Size This property is required. Number - The size of the Key used in the Certificate.
- key
Type This property is required. String - Specifies the Type of Key, for example
RSA
. - reuse
Key This property is required. Boolean - Is the key reusable?
GetCertificateCertificatePolicyLifetimeAction
- Actions
This property is required. List<GetCertificate Certificate Policy Lifetime Action Action> - A
action
block as defined below. - Triggers
This property is required. List<GetCertificate Certificate Policy Lifetime Action Trigger> - A
trigger
block as defined below.
- Actions
This property is required. []GetCertificate Certificate Policy Lifetime Action Action - A
action
block as defined below. - Triggers
This property is required. []GetCertificate Certificate Policy Lifetime Action Trigger - A
trigger
block as defined below.
- actions
This property is required. List<GetCertificate Certificate Policy Lifetime Action Action> - A
action
block as defined below. - triggers
This property is required. List<GetCertificate Certificate Policy Lifetime Action Trigger> - A
trigger
block as defined below.
- actions
This property is required. GetCertificate Certificate Policy Lifetime Action Action[] - A
action
block as defined below. - triggers
This property is required. GetCertificate Certificate Policy Lifetime Action Trigger[] - A
trigger
block as defined below.
- actions
This property is required. Sequence[GetCertificate Certificate Policy Lifetime Action Action] - A
action
block as defined below. - triggers
This property is required. Sequence[GetCertificate Certificate Policy Lifetime Action Trigger] - 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
- Action
Type This property is required. string - The Type of action to be performed when the lifetime trigger is triggerec.
- Action
Type This property is required. string - The Type of action to be performed when the lifetime trigger is triggerec.
- action
Type This property is required. String - The Type of action to be performed when the lifetime trigger is triggerec.
- action
Type 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.
- action
Type This property is required. String - The Type of action to be performed when the lifetime trigger is triggerec.
GetCertificateCertificatePolicyLifetimeActionTrigger
- 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.
- 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.
- days
Before Expiry This property is required. Integer - The number of days before the Certificate expires that the action associated with this Trigger should run.
- lifetime
Percentage This property is required. Integer - The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
- days
Before Expiry This property is required. number - The number of days before the Certificate expires that the action associated with this Trigger should run.
- lifetime
Percentage 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.
- days
Before Expiry This property is required. Number - The number of days before the Certificate expires that the action associated with this Trigger should run.
- lifetime
Percentage This property is required. Number - The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
GetCertificateCertificatePolicySecretProperty
- Content
Type This property is required. string - The Content-Type of the Certificate, for example
application/x-pkcs12
for a PFX orapplication/x-pem-file
for a PEM.
- Content
Type This property is required. string - The Content-Type of the Certificate, for example
application/x-pkcs12
for a PFX orapplication/x-pem-file
for a PEM.
- content
Type This property is required. String - The Content-Type of the Certificate, for example
application/x-pkcs12
for a PFX orapplication/x-pem-file
for a PEM.
- content
Type This property is required. string - The Content-Type of the Certificate, for example
application/x-pkcs12
for a PFX orapplication/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 orapplication/x-pem-file
for a PEM.
- content
Type This property is required. String - The Content-Type of the Certificate, for example
application/x-pkcs12
for a PFX orapplication/x-pem-file
for a PEM.
GetCertificateCertificatePolicyX509CertificateProperty
- Extended
Key Usages This property is required. List<string> - A list of Extended/Enhanced Key Usages.
- Key
Usages This property is required. List<string> - A list of uses associated with this Key.
- Subject
This property is required. string - The Certificate's Subject.
- Subject
Alternative Names This property is required. List<GetCertificate Certificate Policy X509Certificate Property Subject Alternative Name> - A
subject_alternative_names
block as defined below. - Validity
In Months This property is required. int - The Certificates Validity Period in Months.
- Extended
Key Usages This property is required. []string - A list of Extended/Enhanced Key Usages.
- Key
Usages This property is required. []string - A list of uses associated with this Key.
- Subject
This property is required. string - The Certificate's Subject.
- Subject
Alternative Names This property is required. []GetCertificate Certificate Policy X509Certificate Property Subject Alternative Name - A
subject_alternative_names
block as defined below. - Validity
In Months This property is required. int - The Certificates Validity Period in Months.
- extended
Key Usages This property is required. List<String> - A list of Extended/Enhanced Key Usages.
- key
Usages This property is required. List<String> - A list of uses associated with this Key.
- subject
This property is required. String - The Certificate's Subject.
- subject
Alternative Names This property is required. List<GetCertificate Certificate Policy X509Certificate Property Subject Alternative Name> - A
subject_alternative_names
block as defined below. - validity
In Months This property is required. Integer - The Certificates Validity Period in Months.
- extended
Key Usages This property is required. string[] - A list of Extended/Enhanced Key Usages.
- key
Usages This property is required. string[] - A list of uses associated with this Key.
- subject
This property is required. string - The Certificate's Subject.
- subject
Alternative Names This property is required. GetCertificate Certificate Policy X509Certificate Property Subject Alternative Name[] - A
subject_alternative_names
block as defined below. - validity
In Months 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[GetCertificate Certificate Policy X509Certificate Property Subject Alternative Name] - A
subject_alternative_names
block as defined below. - validity_
in_ months This property is required. int - The Certificates Validity Period in Months.
- extended
Key Usages This property is required. List<String> - A list of Extended/Enhanced Key Usages.
- key
Usages This property is required. List<String> - A list of uses associated with this Key.
- subject
This property is required. String - The Certificate's Subject.
- subject
Alternative Names This property is required. List<Property Map> - A
subject_alternative_names
block as defined below. - validity
In Months This property is required. Number - The Certificates Validity Period in Months.
GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName
- Dns
Names 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.
- Dns
Names 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. 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.
- dns
Names 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.
- dns
Names 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.