Environment Certificate Args
data class EnvironmentCertificateArgs(val certificateBlobBase64: Output<String>? = null, val certificatePassword: Output<String>? = null, val containerAppEnvironmentId: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<EnvironmentCertificateArgs>
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
Content copied to clipboard
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"
Content copied to clipboard
Constructors
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.