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/v5/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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:keyvault/getCertificate:getCertificate
arguments:
# arguments dictionary
The following arguments are supported:
- Key
Vault stringId - Specifies the ID of the Key Vault instance where the Secret resides, available on the
azure.keyvault.KeyVault
Data Source / Resource. - Name 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 stringId - Specifies the ID of the Key Vault instance where the Secret resides, available on the
azure.keyvault.KeyVault
Data Source / Resource. - Name 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 StringId - Specifies the ID of the Key Vault instance where the Secret resides, available on the
azure.keyvault.KeyVault
Data Source / Resource. - name 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 stringId - Specifies the ID of the Key Vault instance where the Secret resides, available on the
azure.keyvault.KeyVault
Data Source / Resource. - name 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_ strid - Specifies the ID of the Key Vault instance where the Secret resides, available on the
azure.keyvault.KeyVault
Data Source / Resource. - name 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 StringId - Specifies the ID of the Key Vault instance where the Secret resides, available on the
azure.keyvault.KeyVault
Data Source / Resource. - name 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 List<GetCertificate Certificate Policy Issuer Parameter> - A
issuer_parameters
block as defined below. - Key
Properties List<GetCertificate Certificate Policy Key Property> - A
key_properties
block as defined below. - Lifetime
Actions List<GetCertificate Certificate Policy Lifetime Action> - A
lifetime_action
block as defined below. - Secret
Properties List<GetCertificate Certificate Policy Secret Property> - A
secret_properties
block as defined below. - X509Certificate
Properties List<GetCertificate Certificate Policy X509Certificate Property> - An
x509_certificate_properties
block as defined below.
- Issuer
Parameters []GetCertificate Certificate Policy Issuer Parameter - A
issuer_parameters
block as defined below. - Key
Properties []GetCertificate Certificate Policy Key Property - A
key_properties
block as defined below. - Lifetime
Actions []GetCertificate Certificate Policy Lifetime Action - A
lifetime_action
block as defined below. - Secret
Properties []GetCertificate Certificate Policy Secret Property - A
secret_properties
block as defined below. - X509Certificate
Properties []GetCertificate Certificate Policy X509Certificate Property - An
x509_certificate_properties
block as defined below.
- issuer
Parameters List<GetCertificate Certificate Policy Issuer Parameter> - A
issuer_parameters
block as defined below. - key
Properties List<GetCertificate Certificate Policy Key Property> - A
key_properties
block as defined below. - lifetime
Actions List<GetCertificate Certificate Policy Lifetime Action> - A
lifetime_action
block as defined below. - secret
Properties List<GetCertificate Certificate Policy Secret Property> - A
secret_properties
block as defined below. - x509Certificate
Properties List<GetCertificate Certificate Policy X509Certificate Property> - An
x509_certificate_properties
block as defined below.
- issuer
Parameters GetCertificate Certificate Policy Issuer Parameter[] - A
issuer_parameters
block as defined below. - key
Properties GetCertificate Certificate Policy Key Property[] - A
key_properties
block as defined below. - lifetime
Actions GetCertificate Certificate Policy Lifetime Action[] - A
lifetime_action
block as defined below. - secret
Properties GetCertificate Certificate Policy Secret Property[] - A
secret_properties
block as defined below. - x509Certificate
Properties GetCertificate Certificate Policy X509Certificate Property[] - An
x509_certificate_properties
block as defined below.
- issuer_
parameters Sequence[GetCertificate Certificate Policy Issuer Parameter] - A
issuer_parameters
block as defined below. - key_
properties Sequence[GetCertificate Certificate Policy Key Property] - A
key_properties
block as defined below. - lifetime_
actions Sequence[GetCertificate Certificate Policy Lifetime Action] - A
lifetime_action
block as defined below. - secret_
properties Sequence[GetCertificate Certificate Policy Secret Property] - A
secret_properties
block as defined below. - x509_
certificate_ Sequence[Getproperties Certificate Certificate Policy X509Certificate Property] - An
x509_certificate_properties
block as defined below.
- issuer
Parameters List<Property Map> - A
issuer_parameters
block as defined below. - key
Properties List<Property Map> - A
key_properties
block as defined below. - lifetime
Actions List<Property Map> - A
lifetime_action
block as defined below. - secret
Properties List<Property Map> - A
secret_properties
block as defined below. - x509Certificate
Properties List<Property Map> - An
x509_certificate_properties
block as defined below.
GetCertificateCertificatePolicyIssuerParameter
- Name string
- Specifies the name of the Key Vault Certificate.
- Name string
- Specifies the name of the Key Vault Certificate.
- name String
- Specifies the name of the Key Vault Certificate.
- name string
- Specifies the name of the Key Vault Certificate.
- name str
- Specifies the name of the Key Vault Certificate.
- name String
- Specifies the name of the Key Vault Certificate.
GetCertificateCertificatePolicyKeyProperty
- Curve string
- Exportable bool
- Is this Certificate Exportable?
- Key
Size int - The size of the Key used in the Certificate.
- Key
Type string - Specifies the Type of Key, for example
RSA
. - Reuse
Key bool - Is the key reusable?
- Curve string
- Exportable bool
- Is this Certificate Exportable?
- Key
Size int - The size of the Key used in the Certificate.
- Key
Type string - Specifies the Type of Key, for example
RSA
. - Reuse
Key bool - Is the key reusable?
- curve String
- exportable Boolean
- Is this Certificate Exportable?
- key
Size Integer - The size of the Key used in the Certificate.
- key
Type String - Specifies the Type of Key, for example
RSA
. - reuse
Key Boolean - Is the key reusable?
- curve string
- exportable boolean
- Is this Certificate Exportable?
- key
Size number - The size of the Key used in the Certificate.
- key
Type string - Specifies the Type of Key, for example
RSA
. - reuse
Key boolean - Is the key reusable?
- curve str
- exportable bool
- Is this Certificate Exportable?
- key_
size int - The size of the Key used in the Certificate.
- key_
type str - Specifies the Type of Key, for example
RSA
. - reuse_
key bool - Is the key reusable?
- curve String
- exportable Boolean
- Is this Certificate Exportable?
- key
Size Number - The size of the Key used in the Certificate.
- key
Type String - Specifies the Type of Key, for example
RSA
. - reuse
Key Boolean - Is the key reusable?
GetCertificateCertificatePolicyLifetimeAction
- Actions
List<Get
Certificate Certificate Policy Lifetime Action Action> - A
action
block as defined below. - Triggers
List<Get
Certificate Certificate Policy Lifetime Action Trigger> - A
trigger
block as defined below.
- Actions
[]Get
Certificate Certificate Policy Lifetime Action Action - A
action
block as defined below. - Triggers
[]Get
Certificate Certificate Policy Lifetime Action Trigger - A
trigger
block as defined below.
- actions
List<Get
Certificate Certificate Policy Lifetime Action Action> - A
action
block as defined below. - triggers
List<Get
Certificate Certificate Policy Lifetime Action Trigger> - A
trigger
block as defined below.
- actions
Get
Certificate Certificate Policy Lifetime Action Action[] - A
action
block as defined below. - triggers
Get
Certificate Certificate Policy Lifetime Action Trigger[] - A
trigger
block as defined below.
- actions
Sequence[Get
Certificate Certificate Policy Lifetime Action Action] - A
action
block as defined below. - triggers
Sequence[Get
Certificate Certificate Policy Lifetime Action Trigger] - A
trigger
block as defined below.
- actions List<Property Map>
- A
action
block as defined below. - triggers List<Property Map>
- A
trigger
block as defined below.
GetCertificateCertificatePolicyLifetimeActionAction
- Action
Type string - The Type of action to be performed when the lifetime trigger is triggerec.
- Action
Type string - The Type of action to be performed when the lifetime trigger is triggerec.
- action
Type String - The Type of action to be performed when the lifetime trigger is triggerec.
- action
Type string - The Type of action to be performed when the lifetime trigger is triggerec.
- action_
type str - The Type of action to be performed when the lifetime trigger is triggerec.
- action
Type String - The Type of action to be performed when the lifetime trigger is triggerec.
GetCertificateCertificatePolicyLifetimeActionTrigger
- Days
Before intExpiry - The number of days before the Certificate expires that the action associated with this Trigger should run.
- Lifetime
Percentage int - The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
- Days
Before intExpiry - The number of days before the Certificate expires that the action associated with this Trigger should run.
- Lifetime
Percentage int - The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
- days
Before IntegerExpiry - The number of days before the Certificate expires that the action associated with this Trigger should run.
- lifetime
Percentage Integer - The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
- days
Before numberExpiry - The number of days before the Certificate expires that the action associated with this Trigger should run.
- lifetime
Percentage number - The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
- days_
before_ intexpiry - The number of days before the Certificate expires that the action associated with this Trigger should run.
- lifetime_
percentage int - The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
- days
Before NumberExpiry - The number of days before the Certificate expires that the action associated with this Trigger should run.
- lifetime
Percentage Number - The percentage at which during the Certificates Lifetime the action associated with this Trigger should run.
GetCertificateCertificatePolicySecretProperty
- Content
Type string - The Content-Type of the Certificate, for example
application/x-pkcs12
for a PFX orapplication/x-pem-file
for a PEM.
- Content
Type string - The Content-Type of the Certificate, for example
application/x-pkcs12
for a PFX orapplication/x-pem-file
for a PEM.
- content
Type String - The Content-Type of the Certificate, for example
application/x-pkcs12
for a PFX orapplication/x-pem-file
for a PEM.
- content
Type string - The Content-Type of the Certificate, for example
application/x-pkcs12
for a PFX orapplication/x-pem-file
for a PEM.
- content_
type str - The Content-Type of the Certificate, for example
application/x-pkcs12
for a PFX orapplication/x-pem-file
for a PEM.
- content
Type 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 List<string>Usages - A list of Extended/Enhanced Key Usages.
- Key
Usages List<string> - A list of uses associated with this Key.
- Subject string
- The Certificate's Subject.
- Subject
Alternative List<GetNames Certificate Certificate Policy X509Certificate Property Subject Alternative Name> - A
subject_alternative_names
block as defined below. - Validity
In intMonths - The Certificates Validity Period in Months.
- Extended
Key []stringUsages - A list of Extended/Enhanced Key Usages.
- Key
Usages []string - A list of uses associated with this Key.
- Subject string
- The Certificate's Subject.
- Subject
Alternative []GetNames Certificate Certificate Policy X509Certificate Property Subject Alternative Name - A
subject_alternative_names
block as defined below. - Validity
In intMonths - The Certificates Validity Period in Months.
- extended
Key List<String>Usages - A list of Extended/Enhanced Key Usages.
- key
Usages List<String> - A list of uses associated with this Key.
- subject String
- The Certificate's Subject.
- subject
Alternative List<GetNames Certificate Certificate Policy X509Certificate Property Subject Alternative Name> - A
subject_alternative_names
block as defined below. - validity
In IntegerMonths - The Certificates Validity Period in Months.
- extended
Key string[]Usages - A list of Extended/Enhanced Key Usages.
- key
Usages string[] - A list of uses associated with this Key.
- subject string
- The Certificate's Subject.
- subject
Alternative GetNames Certificate Certificate Policy X509Certificate Property Subject Alternative Name[] - A
subject_alternative_names
block as defined below. - validity
In numberMonths - The Certificates Validity Period in Months.
- extended_
key_ Sequence[str]usages - A list of Extended/Enhanced Key Usages.
- key_
usages Sequence[str] - A list of uses associated with this Key.
- subject str
- The Certificate's Subject.
- subject_
alternative_ Sequence[Getnames Certificate Certificate Policy X509Certificate Property Subject Alternative Name] - A
subject_alternative_names
block as defined below. - validity_
in_ intmonths - The Certificates Validity Period in Months.
- extended
Key List<String>Usages - A list of Extended/Enhanced Key Usages.
- key
Usages List<String> - A list of uses associated with this Key.
- subject String
- The Certificate's Subject.
- subject
Alternative List<Property Map>Names - A
subject_alternative_names
block as defined below. - validity
In NumberMonths - The Certificates Validity Period in Months.
GetCertificateCertificatePolicyX509CertificatePropertySubjectAlternativeName
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.