1. Registry
  2. Packages
  3. Konnect Provider
  4. API Docs
  5. AiGatewayCaCertificate
Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong
Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong

    AIGatewayCACertificate Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myAigatewaycacertificate = new konnect.AiGatewayCaCertificate("my_aigatewaycacertificate", {
        cert: `-----BEGIN CERTIFICATE-----
    ...
    -----END CERTIFICATE-----
    `,
        gatewayId: "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
        labels: {
            key: "value",
        },
        managedBy: {
            key: "value",
        },
        name: "my-root-ca",
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_aigatewaycacertificate = konnect.AiGatewayCaCertificate("my_aigatewaycacertificate",
        cert="""-----BEGIN CERTIFICATE-----
    ...
    -----END CERTIFICATE-----
    """,
        gateway_id="5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
        labels={
            "key": "value",
        },
        managed_by={
            "key": "value",
        },
        name="my-root-ca")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := konnect.NewAiGatewayCaCertificate(ctx, "my_aigatewaycacertificate", &konnect.AiGatewayCaCertificateArgs{
    			Cert:      pulumi.String("-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n"),
    			GatewayId: pulumi.String("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
    			Labels: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    			ManagedBy: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    			Name: pulumi.String("my-root-ca"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Konnect = Pulumi.Konnect;
    
    return await Deployment.RunAsync(() => 
    {
        var myAigatewaycacertificate = new Konnect.AiGatewayCaCertificate("my_aigatewaycacertificate", new()
        {
            Cert = @"-----BEGIN CERTIFICATE-----
    ...
    -----END CERTIFICATE-----
    ",
            GatewayId = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
            Labels = 
            {
                { "key", "value" },
            },
            ManagedBy = 
            {
                { "key", "value" },
            },
            Name = "my-root-ca",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.AiGatewayCaCertificate;
    import com.pulumi.konnect.AiGatewayCaCertificateArgs;
    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) {
            var myAigatewaycacertificate = new AiGatewayCaCertificate("myAigatewaycacertificate", AiGatewayCaCertificateArgs.builder()
                .cert("""
    -----BEGIN CERTIFICATE-----
    ...
    -----END CERTIFICATE-----
                """)
                .gatewayId("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7")
                .labels(Map.of("key", "value"))
                .managedBy(Map.of("key", "value"))
                .name("my-root-ca")
                .build());
    
        }
    }
    
    resources:
      myAigatewaycacertificate:
        type: konnect:AiGatewayCaCertificate
        name: my_aigatewaycacertificate
        properties:
          cert: |
            -----BEGIN CERTIFICATE-----
            ...
            -----END CERTIFICATE-----
          gatewayId: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
          labels:
            key: value
          managedBy:
            key: value
          name: my-root-ca
    
    Example coming soon!
    

    Create AiGatewayCaCertificate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AiGatewayCaCertificate(name: string, args: AiGatewayCaCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def AiGatewayCaCertificate(resource_name: str,
                               args: AiGatewayCaCertificateArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def AiGatewayCaCertificate(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               cert: Optional[str] = None,
                               gateway_id: Optional[str] = None,
                               labels: Optional[Mapping[str, str]] = None,
                               managed_by: Optional[Mapping[str, str]] = None,
                               name: Optional[str] = None)
    func NewAiGatewayCaCertificate(ctx *Context, name string, args AiGatewayCaCertificateArgs, opts ...ResourceOption) (*AiGatewayCaCertificate, error)
    public AiGatewayCaCertificate(string name, AiGatewayCaCertificateArgs args, CustomResourceOptions? opts = null)
    public AiGatewayCaCertificate(String name, AiGatewayCaCertificateArgs args)
    public AiGatewayCaCertificate(String name, AiGatewayCaCertificateArgs args, CustomResourceOptions options)
    
    type: konnect:AiGatewayCaCertificate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "konnect_ai_gateway_ca_certificate" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AiGatewayCaCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AiGatewayCaCertificateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AiGatewayCaCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AiGatewayCaCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AiGatewayCaCertificateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var aiGatewayCaCertificateResource = new Konnect.AiGatewayCaCertificate("aiGatewayCaCertificateResource", new()
    {
        Cert = "string",
        GatewayId = "string",
        Labels = 
        {
            { "string", "string" },
        },
        ManagedBy = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := konnect.NewAiGatewayCaCertificate(ctx, "aiGatewayCaCertificateResource", &konnect.AiGatewayCaCertificateArgs{
    	Cert:      pulumi.String("string"),
    	GatewayId: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ManagedBy: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    resource "konnect_ai_gateway_ca_certificate" "aiGatewayCaCertificateResource" {
      lifecycle {
        create_before_destroy = true
      }
      cert       = "string"
      gateway_id = "string"
      labels = {
        "string" = "string"
      }
      managed_by = {
        "string" = "string"
      }
      name = "string"
    }
    
    var aiGatewayCaCertificateResource = new AiGatewayCaCertificate("aiGatewayCaCertificateResource", AiGatewayCaCertificateArgs.builder()
        .cert("string")
        .gatewayId("string")
        .labels(Map.of("string", "string"))
        .managedBy(Map.of("string", "string"))
        .name("string")
        .build());
    
    ai_gateway_ca_certificate_resource = konnect.AiGatewayCaCertificate("aiGatewayCaCertificateResource",
        cert="string",
        gateway_id="string",
        labels={
            "string": "string",
        },
        managed_by={
            "string": "string",
        },
        name="string")
    
    const aiGatewayCaCertificateResource = new konnect.AiGatewayCaCertificate("aiGatewayCaCertificateResource", {
        cert: "string",
        gatewayId: "string",
        labels: {
            string: "string",
        },
        managedBy: {
            string: "string",
        },
        name: "string",
    });
    
    type: konnect:AiGatewayCaCertificate
    properties:
        cert: string
        gatewayId: string
        labels:
            string: string
        managedBy:
            string: string
        name: string
    

    AiGatewayCaCertificate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AiGatewayCaCertificate resource accepts the following input properties:

    Cert string
    PEM-encoded public certificate of the CA.
    GatewayId string
    The unique ID of the AI Gateway.
    Labels Dictionary<string, string>
    Public labels store information about an entity that can be used for filtering a list of objects.
    ManagedBy Dictionary<string, string>
    Name string
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    Cert string
    PEM-encoded public certificate of the CA.
    GatewayId string
    The unique ID of the AI Gateway.
    Labels map[string]string
    Public labels store information about an entity that can be used for filtering a list of objects.
    ManagedBy map[string]string
    Name string
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    cert string
    PEM-encoded public certificate of the CA.
    gateway_id string
    The unique ID of the AI Gateway.
    labels map(string)
    Public labels store information about an entity that can be used for filtering a list of objects.
    managed_by map(string)
    name string
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    cert String
    PEM-encoded public certificate of the CA.
    gatewayId String
    The unique ID of the AI Gateway.
    labels Map<String,String>
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy Map<String,String>
    name String
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    cert string
    PEM-encoded public certificate of the CA.
    gatewayId string
    The unique ID of the AI Gateway.
    labels {[key: string]: string}
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy {[key: string]: string}
    name string
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    cert str
    PEM-encoded public certificate of the CA.
    gateway_id str
    The unique ID of the AI Gateway.
    labels Mapping[str, str]
    Public labels store information about an entity that can be used for filtering a list of objects.
    managed_by Mapping[str, str]
    name str
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    cert String
    PEM-encoded public certificate of the CA.
    gatewayId String
    The unique ID of the AI Gateway.
    labels Map<String>
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy Map<String>
    name String
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AiGatewayCaCertificate resource produces the following output properties:

    CertDigest string
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    CertDigest string
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    cert_digest string
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    certDigest String
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    certDigest string
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    cert_digest str
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    certDigest String
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Look up Existing AiGatewayCaCertificate Resource

    Get an existing AiGatewayCaCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AiGatewayCaCertificateState, opts?: CustomResourceOptions): AiGatewayCaCertificate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cert: Optional[str] = None,
            cert_digest: Optional[str] = None,
            created_at: Optional[str] = None,
            gateway_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            managed_by: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            updated_at: Optional[str] = None) -> AiGatewayCaCertificate
    func GetAiGatewayCaCertificate(ctx *Context, name string, id IDInput, state *AiGatewayCaCertificateState, opts ...ResourceOption) (*AiGatewayCaCertificate, error)
    public static AiGatewayCaCertificate Get(string name, Input<string> id, AiGatewayCaCertificateState? state, CustomResourceOptions? opts = null)
    public static AiGatewayCaCertificate get(String name, Output<String> id, AiGatewayCaCertificateState state, CustomResourceOptions options)
    resources:  _:    type: konnect:AiGatewayCaCertificate    get:      id: ${id}
    import {
      to = konnect_ai_gateway_ca_certificate.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Cert string
    PEM-encoded public certificate of the CA.
    CertDigest string
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    GatewayId string
    The unique ID of the AI Gateway.
    Labels Dictionary<string, string>
    Public labels store information about an entity that can be used for filtering a list of objects.
    ManagedBy Dictionary<string, string>
    Name string
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Cert string
    PEM-encoded public certificate of the CA.
    CertDigest string
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    GatewayId string
    The unique ID of the AI Gateway.
    Labels map[string]string
    Public labels store information about an entity that can be used for filtering a list of objects.
    ManagedBy map[string]string
    Name string
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    cert string
    PEM-encoded public certificate of the CA.
    cert_digest string
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    gateway_id string
    The unique ID of the AI Gateway.
    labels map(string)
    Public labels store information about an entity that can be used for filtering a list of objects.
    managed_by map(string)
    name string
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    cert String
    PEM-encoded public certificate of the CA.
    certDigest String
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    gatewayId String
    The unique ID of the AI Gateway.
    labels Map<String,String>
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy Map<String,String>
    name String
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    cert string
    PEM-encoded public certificate of the CA.
    certDigest string
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    gatewayId string
    The unique ID of the AI Gateway.
    labels {[key: string]: string}
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy {[key: string]: string}
    name string
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    cert str
    PEM-encoded public certificate of the CA.
    cert_digest str
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    gateway_id str
    The unique ID of the AI Gateway.
    labels Mapping[str, str]
    Public labels store information about an entity that can be used for filtering a list of objects.
    managed_by Mapping[str, str]
    name str
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    cert String
    PEM-encoded public certificate of the CA.
    certDigest String
    SHA256 hex digest of the public certificate. This field is read-only and is automatically computed; it cannot be set by the caller.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    gatewayId String
    The unique ID of the AI Gateway.
    labels Map<String>
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy Map<String>
    name String
    A user-defined unique identifier for this CA certificate, used as a stable human-readable reference. This value is immutable after creation.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = konnect_ai_gateway_ca_certificate.my_konnect_ai_gateway_ca_certificate

    id = jsonencode({

    gateway_id = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
    
    id         = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
    

    })

    }

    The pulumi import command can be used, for example:

    $ pulumi import konnect:index/aiGatewayCaCertificate:AiGatewayCaCertificate my_konnect_ai_gateway_ca_certificate '{"gateway_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7", "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"}'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    Viewing docs for konnect 3.23.0
    published on Friday, Sep 18, 2026 by kong

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial