EnvironmentCertificateArgs

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

API Providers

This resource uses the following Azure API Providers:

  • Microsoft.App: 2025-01-01

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"

Constructors

Link copied to clipboard
constructor(certificateBlobBase64: Output<String>? = null, certificatePassword: Output<String>? = null, containerAppEnvironmentId: Output<String>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val certificateBlobBase64: Output<String>? = null

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

Link copied to clipboard
val certificatePassword: Output<String>? = null

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

Link copied to clipboard
val containerAppEnvironmentId: Output<String>? = null

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 name: Output<String>? = null

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

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

A mapping of tags to assign to the resource.

Functions

Link copied to clipboard
open override fun toJava(): EnvironmentCertificateArgs