EnvironmentCertificate

class EnvironmentCertificate : KotlinCustomResource

Manages a Container App Environment Certificate.

Example Usage

resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleAnalyticsWorkspace:
type: azure:operationalinsights:AnalyticsWorkspace
name: example
properties:
name: acctest-01
location: ${example.location}
resourceGroupName: ${example.name}
sku: PerGB2018
retentionInDays: 30
exampleEnvironment:
type: azure:containerapp:Environment
name: example
properties:
name: myEnvironment
location: ${example.location}
resourceGroupName: ${example.name}
logAnalyticsWorkspaceId: ${exampleAnalyticsWorkspace.id}
exampleEnvironmentCertificate:
type: azure:containerapp:EnvironmentCertificate
name: example
properties:
name: myfriendlyname
containerAppEnvironmentId: ${exampleEnvironment.id}
certificateBlob:
fn::invoke:
function: std:filebase64
arguments:
input: path/to/certificate_file.pfx
return: result
certificatePassword: $3cretSqu1rreL

Import

A Container App Environment Certificate can be imported using the resource id, e.g.

$ pulumi import azure:containerapp/environmentCertificate:EnvironmentCertificate example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/managedEnvironments/myenv/certificates/mycertificate"

Properties

Link copied to clipboard

The Certificate Private Key as a base64 encoded PFX or PEM. Changing this forces a new resource to be created.

Link copied to clipboard

The password for the Certificate. Changing this forces a new resource to be created.

Link copied to clipboard

The Container App Managed Environment ID to configure this Certificate on. Changing this forces a new resource to be created.

Link copied to clipboard
val expirationDate: Output<String>

The expiration date for the Certificate.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val issueDate: Output<String>

The date of issue for the Certificate.

Link copied to clipboard
val issuer: Output<String>

The Certificate Issuer.

Link copied to clipboard
val name: Output<String>

The name of the Container Apps Environment Certificate. Changing this forces a new resource to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val subjectName: Output<String>

The Subject Name for the Certificate.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val thumbprint: Output<String>

The Thumbprint of the Certificate.

Link copied to clipboard
val urn: Output<String>