1. Packages
  2. Confluent Provider
  3. API Docs
  4. SchemaRegistryClusterConfig
Viewing docs for Confluent v2.61.0
published on Saturday, Mar 21, 2026 by Pulumi
confluentcloud logo
Viewing docs for Confluent v2.61.0
published on Saturday, Mar 21, 2026 by Pulumi

    General Availability

    confluentcloud.SchemaRegistryClusterConfig provides a Schema Registry Cluster Config resource that enables updating Config on a Schema Registry cluster on Confluent Cloud.

    Note: It is recommended to set lifecycle {<span pulumi-lang-nodejs=" preventDestroy " pulumi-lang-dotnet=" PreventDestroy " pulumi-lang-go=" preventDestroy " pulumi-lang-python=" prevent_destroy " pulumi-lang-yaml=" preventDestroy " pulumi-lang-java=" preventDestroy "> prevent_destroy </span>= true } on production instances to prevent accidental Schema Registry Cluster Config deletion. This setting rejects plans that would destroy or recreate the Schema Registry Cluster Config, such as attempting to change uneditable attributes. Read more about it in the Terraform docs.

    Example Usage

    Option #1: Manage multiple Schema Registry clusters in the same Pulumi Stack

    import * as pulumi from "@pulumi/pulumi";
    import * as confluentcloud from "@pulumi/confluentcloud";
    
    const example = new confluentcloud.SchemaRegistryClusterConfig("example", {
        schemaRegistryCluster: {
            id: essentials.id,
        },
        restEndpoint: essentials.restEndpoint,
        compatibilityLevel: "FULL",
        credentials: {
            key: "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
            secret: "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
        },
    });
    
    import pulumi
    import pulumi_confluentcloud as confluentcloud
    
    example = confluentcloud.SchemaRegistryClusterConfig("example",
        schema_registry_cluster={
            "id": essentials["id"],
        },
        rest_endpoint=essentials["restEndpoint"],
        compatibility_level="FULL",
        credentials={
            "key": "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
            "secret": "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-confluentcloud/sdk/v2/go/confluentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := confluentcloud.NewSchemaRegistryClusterConfig(ctx, "example", &confluentcloud.SchemaRegistryClusterConfigArgs{
    			SchemaRegistryCluster: &confluentcloud.SchemaRegistryClusterConfigSchemaRegistryClusterArgs{
    				Id: pulumi.Any(essentials.Id),
    			},
    			RestEndpoint:       pulumi.Any(essentials.RestEndpoint),
    			CompatibilityLevel: pulumi.String("FULL"),
    			Credentials: &confluentcloud.SchemaRegistryClusterConfigCredentialsArgs{
    				Key:    pulumi.String("<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>"),
    				Secret: pulumi.String("<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ConfluentCloud = Pulumi.ConfluentCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new ConfluentCloud.SchemaRegistryClusterConfig("example", new()
        {
            SchemaRegistryCluster = new ConfluentCloud.Inputs.SchemaRegistryClusterConfigSchemaRegistryClusterArgs
            {
                Id = essentials.Id,
            },
            RestEndpoint = essentials.RestEndpoint,
            CompatibilityLevel = "FULL",
            Credentials = new ConfluentCloud.Inputs.SchemaRegistryClusterConfigCredentialsArgs
            {
                Key = "<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>",
                Secret = "<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.confluentcloud.SchemaRegistryClusterConfig;
    import com.pulumi.confluentcloud.SchemaRegistryClusterConfigArgs;
    import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterConfigSchemaRegistryClusterArgs;
    import com.pulumi.confluentcloud.inputs.SchemaRegistryClusterConfigCredentialsArgs;
    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 example = new SchemaRegistryClusterConfig("example", SchemaRegistryClusterConfigArgs.builder()
                .schemaRegistryCluster(SchemaRegistryClusterConfigSchemaRegistryClusterArgs.builder()
                    .id(essentials.id())
                    .build())
                .restEndpoint(essentials.restEndpoint())
                .compatibilityLevel("FULL")
                .credentials(SchemaRegistryClusterConfigCredentialsArgs.builder()
                    .key("<Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>")
                    .secret("<Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: confluentcloud:SchemaRegistryClusterConfig
        properties:
          schemaRegistryCluster:
            id: ${essentials.id}
          restEndpoint: ${essentials.restEndpoint}
          compatibilityLevel: FULL
          credentials:
            key: <Schema Registry API Key for data.confluent_schema_registry_cluster.essentials>
            secret: <Schema Registry API Secret for data.confluent_schema_registry_cluster.essentials>
    

    Option #2: Manage a single Schema Registry cluster in the same Pulumi Stack

    import * as pulumi from "@pulumi/pulumi";
    import * as confluentcloud from "@pulumi/confluentcloud";
    
    const example = new confluentcloud.SchemaRegistryClusterConfig("example", {
        compatibilityLevel: "FULL",
        compatibilityGroup: "abc.cg.version",
        normalize: true,
    });
    
    import pulumi
    import pulumi_confluentcloud as confluentcloud
    
    example = confluentcloud.SchemaRegistryClusterConfig("example",
        compatibility_level="FULL",
        compatibility_group="abc.cg.version",
        normalize=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-confluentcloud/sdk/v2/go/confluentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := confluentcloud.NewSchemaRegistryClusterConfig(ctx, "example", &confluentcloud.SchemaRegistryClusterConfigArgs{
    			CompatibilityLevel: pulumi.String("FULL"),
    			CompatibilityGroup: pulumi.String("abc.cg.version"),
    			Normalize:          pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ConfluentCloud = Pulumi.ConfluentCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new ConfluentCloud.SchemaRegistryClusterConfig("example", new()
        {
            CompatibilityLevel = "FULL",
            CompatibilityGroup = "abc.cg.version",
            Normalize = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.confluentcloud.SchemaRegistryClusterConfig;
    import com.pulumi.confluentcloud.SchemaRegistryClusterConfigArgs;
    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 example = new SchemaRegistryClusterConfig("example", SchemaRegistryClusterConfigArgs.builder()
                .compatibilityLevel("FULL")
                .compatibilityGroup("abc.cg.version")
                .normalize(true)
                .build());
    
        }
    }
    
    resources:
      example:
        type: confluentcloud:SchemaRegistryClusterConfig
        properties:
          compatibilityLevel: FULL
          compatibilityGroup: abc.cg.version
          normalize: true
    

    Create SchemaRegistryClusterConfig Resource

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

    Constructor syntax

    new SchemaRegistryClusterConfig(name: string, args?: SchemaRegistryClusterConfigArgs, opts?: CustomResourceOptions);
    @overload
    def SchemaRegistryClusterConfig(resource_name: str,
                                    args: Optional[SchemaRegistryClusterConfigArgs] = None,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchemaRegistryClusterConfig(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    compatibility_group: Optional[str] = None,
                                    compatibility_level: Optional[str] = None,
                                    credentials: Optional[SchemaRegistryClusterConfigCredentialsArgs] = None,
                                    normalize: Optional[bool] = None,
                                    rest_endpoint: Optional[str] = None,
                                    schema_registry_cluster: Optional[SchemaRegistryClusterConfigSchemaRegistryClusterArgs] = None)
    func NewSchemaRegistryClusterConfig(ctx *Context, name string, args *SchemaRegistryClusterConfigArgs, opts ...ResourceOption) (*SchemaRegistryClusterConfig, error)
    public SchemaRegistryClusterConfig(string name, SchemaRegistryClusterConfigArgs? args = null, CustomResourceOptions? opts = null)
    public SchemaRegistryClusterConfig(String name, SchemaRegistryClusterConfigArgs args)
    public SchemaRegistryClusterConfig(String name, SchemaRegistryClusterConfigArgs args, CustomResourceOptions options)
    
    type: confluentcloud:SchemaRegistryClusterConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SchemaRegistryClusterConfigArgs
    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 SchemaRegistryClusterConfigArgs
    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 SchemaRegistryClusterConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaRegistryClusterConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchemaRegistryClusterConfigArgs
    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 schemaRegistryClusterConfigResource = new ConfluentCloud.SchemaRegistryClusterConfig("schemaRegistryClusterConfigResource", new()
    {
        CompatibilityGroup = "string",
        CompatibilityLevel = "string",
        Credentials = new ConfluentCloud.Inputs.SchemaRegistryClusterConfigCredentialsArgs
        {
            Key = "string",
            Secret = "string",
        },
        Normalize = false,
        RestEndpoint = "string",
        SchemaRegistryCluster = new ConfluentCloud.Inputs.SchemaRegistryClusterConfigSchemaRegistryClusterArgs
        {
            Id = "string",
        },
    });
    
    example, err := confluentcloud.NewSchemaRegistryClusterConfig(ctx, "schemaRegistryClusterConfigResource", &confluentcloud.SchemaRegistryClusterConfigArgs{
    	CompatibilityGroup: pulumi.String("string"),
    	CompatibilityLevel: pulumi.String("string"),
    	Credentials: &confluentcloud.SchemaRegistryClusterConfigCredentialsArgs{
    		Key:    pulumi.String("string"),
    		Secret: pulumi.String("string"),
    	},
    	Normalize:    pulumi.Bool(false),
    	RestEndpoint: pulumi.String("string"),
    	SchemaRegistryCluster: &confluentcloud.SchemaRegistryClusterConfigSchemaRegistryClusterArgs{
    		Id: pulumi.String("string"),
    	},
    })
    
    var schemaRegistryClusterConfigResource = new SchemaRegistryClusterConfig("schemaRegistryClusterConfigResource", SchemaRegistryClusterConfigArgs.builder()
        .compatibilityGroup("string")
        .compatibilityLevel("string")
        .credentials(SchemaRegistryClusterConfigCredentialsArgs.builder()
            .key("string")
            .secret("string")
            .build())
        .normalize(false)
        .restEndpoint("string")
        .schemaRegistryCluster(SchemaRegistryClusterConfigSchemaRegistryClusterArgs.builder()
            .id("string")
            .build())
        .build());
    
    schema_registry_cluster_config_resource = confluentcloud.SchemaRegistryClusterConfig("schemaRegistryClusterConfigResource",
        compatibility_group="string",
        compatibility_level="string",
        credentials={
            "key": "string",
            "secret": "string",
        },
        normalize=False,
        rest_endpoint="string",
        schema_registry_cluster={
            "id": "string",
        })
    
    const schemaRegistryClusterConfigResource = new confluentcloud.SchemaRegistryClusterConfig("schemaRegistryClusterConfigResource", {
        compatibilityGroup: "string",
        compatibilityLevel: "string",
        credentials: {
            key: "string",
            secret: "string",
        },
        normalize: false,
        restEndpoint: "string",
        schemaRegistryCluster: {
            id: "string",
        },
    });
    
    type: confluentcloud:SchemaRegistryClusterConfig
    properties:
        compatibilityGroup: string
        compatibilityLevel: string
        credentials:
            key: string
            secret: string
        normalize: false
        restEndpoint: string
        schemaRegistryCluster:
            id: string
    

    SchemaRegistryClusterConfig 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 SchemaRegistryClusterConfig resource accepts the following input properties:

    CompatibilityGroup string
    The global Schema Registry compatibility group.
    CompatibilityLevel string
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    Credentials Pulumi.ConfluentCloud.Inputs.SchemaRegistryClusterConfigCredentials
    The Cluster API Credentials.
    Normalize bool
    Whether schemas are automatically normalized when registered or passed during lookups.
    RestEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    SchemaRegistryCluster Pulumi.ConfluentCloud.Inputs.SchemaRegistryClusterConfigSchemaRegistryCluster
    CompatibilityGroup string
    The global Schema Registry compatibility group.
    CompatibilityLevel string
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    Credentials SchemaRegistryClusterConfigCredentialsArgs
    The Cluster API Credentials.
    Normalize bool
    Whether schemas are automatically normalized when registered or passed during lookups.
    RestEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    SchemaRegistryCluster SchemaRegistryClusterConfigSchemaRegistryClusterArgs
    compatibilityGroup String
    The global Schema Registry compatibility group.
    compatibilityLevel String
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    credentials SchemaRegistryClusterConfigCredentials
    The Cluster API Credentials.
    normalize Boolean
    Whether schemas are automatically normalized when registered or passed during lookups.
    restEndpoint String
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster SchemaRegistryClusterConfigSchemaRegistryCluster
    compatibilityGroup string
    The global Schema Registry compatibility group.
    compatibilityLevel string
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    credentials SchemaRegistryClusterConfigCredentials
    The Cluster API Credentials.
    normalize boolean
    Whether schemas are automatically normalized when registered or passed during lookups.
    restEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster SchemaRegistryClusterConfigSchemaRegistryCluster
    compatibility_group str
    The global Schema Registry compatibility group.
    compatibility_level str
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    credentials SchemaRegistryClusterConfigCredentialsArgs
    The Cluster API Credentials.
    normalize bool
    Whether schemas are automatically normalized when registered or passed during lookups.
    rest_endpoint str
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schema_registry_cluster SchemaRegistryClusterConfigSchemaRegistryClusterArgs
    compatibilityGroup String
    The global Schema Registry compatibility group.
    compatibilityLevel String
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    credentials Property Map
    The Cluster API Credentials.
    normalize Boolean
    Whether schemas are automatically normalized when registered or passed during lookups.
    restEndpoint String
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SchemaRegistryClusterConfig Resource

    Get an existing SchemaRegistryClusterConfig 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?: SchemaRegistryClusterConfigState, opts?: CustomResourceOptions): SchemaRegistryClusterConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compatibility_group: Optional[str] = None,
            compatibility_level: Optional[str] = None,
            credentials: Optional[SchemaRegistryClusterConfigCredentialsArgs] = None,
            normalize: Optional[bool] = None,
            rest_endpoint: Optional[str] = None,
            schema_registry_cluster: Optional[SchemaRegistryClusterConfigSchemaRegistryClusterArgs] = None) -> SchemaRegistryClusterConfig
    func GetSchemaRegistryClusterConfig(ctx *Context, name string, id IDInput, state *SchemaRegistryClusterConfigState, opts ...ResourceOption) (*SchemaRegistryClusterConfig, error)
    public static SchemaRegistryClusterConfig Get(string name, Input<string> id, SchemaRegistryClusterConfigState? state, CustomResourceOptions? opts = null)
    public static SchemaRegistryClusterConfig get(String name, Output<String> id, SchemaRegistryClusterConfigState state, CustomResourceOptions options)
    resources:  _:    type: confluentcloud:SchemaRegistryClusterConfig    get:      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:
    CompatibilityGroup string
    The global Schema Registry compatibility group.
    CompatibilityLevel string
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    Credentials Pulumi.ConfluentCloud.Inputs.SchemaRegistryClusterConfigCredentials
    The Cluster API Credentials.
    Normalize bool
    Whether schemas are automatically normalized when registered or passed during lookups.
    RestEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    SchemaRegistryCluster Pulumi.ConfluentCloud.Inputs.SchemaRegistryClusterConfigSchemaRegistryCluster
    CompatibilityGroup string
    The global Schema Registry compatibility group.
    CompatibilityLevel string
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    Credentials SchemaRegistryClusterConfigCredentialsArgs
    The Cluster API Credentials.
    Normalize bool
    Whether schemas are automatically normalized when registered or passed during lookups.
    RestEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    SchemaRegistryCluster SchemaRegistryClusterConfigSchemaRegistryClusterArgs
    compatibilityGroup String
    The global Schema Registry compatibility group.
    compatibilityLevel String
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    credentials SchemaRegistryClusterConfigCredentials
    The Cluster API Credentials.
    normalize Boolean
    Whether schemas are automatically normalized when registered or passed during lookups.
    restEndpoint String
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster SchemaRegistryClusterConfigSchemaRegistryCluster
    compatibilityGroup string
    The global Schema Registry compatibility group.
    compatibilityLevel string
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    credentials SchemaRegistryClusterConfigCredentials
    The Cluster API Credentials.
    normalize boolean
    Whether schemas are automatically normalized when registered or passed during lookups.
    restEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster SchemaRegistryClusterConfigSchemaRegistryCluster
    compatibility_group str
    The global Schema Registry compatibility group.
    compatibility_level str
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    credentials SchemaRegistryClusterConfigCredentialsArgs
    The Cluster API Credentials.
    normalize bool
    Whether schemas are automatically normalized when registered or passed during lookups.
    rest_endpoint str
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schema_registry_cluster SchemaRegistryClusterConfigSchemaRegistryClusterArgs
    compatibilityGroup String
    The global Schema Registry compatibility group.
    compatibilityLevel String
    The global Schema Registry compatibility level. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    credentials Property Map
    The Cluster API Credentials.
    normalize Boolean
    Whether schemas are automatically normalized when registered or passed during lookups.
    restEndpoint String
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster Property Map

    Supporting Types

    SchemaRegistryClusterConfigCredentials, SchemaRegistryClusterConfigCredentialsArgs

    Key string
    The Schema Registry API Key.
    Secret string

    The Schema Registry API Secret.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Schema Registry API key, create a new Schema Registry API key, update the credentials block in all configuration files to use the new Schema Registry API key, run pulumi up -target="confluent_schema_registry_cluster_config.orders", and remove the old Schema Registry API key. Alternatively, in case the old Schema Registry API Key was deleted already, you might need to run pulumi preview -refresh=false -target="confluent_schema_registry_cluster_config.orders" -out=rotate-schema-registry-api-key and pulumi up rotate-schema-registry-api-key instead.

    !> Warning: Use Option #2 to avoid exposing sensitive credentials value in a state file. When using Option #1, Terraform doesn't encrypt the sensitive credentials value of the confluentcloud.SchemaRegistryClusterConfig resource, so you must keep your state file secure to avoid exposing it. Refer to the Terraform documentation to learn more about securing your state file.

    Note: To configure a config at the context level, affecting all subjects created within that context, use confluentcloud.SubjectConfig resource and pass in the context name as the subject_name. See the confluentcloud.SubjectConfig` resource documentation for more details.

    Key string
    The Schema Registry API Key.
    Secret string

    The Schema Registry API Secret.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Schema Registry API key, create a new Schema Registry API key, update the credentials block in all configuration files to use the new Schema Registry API key, run pulumi up -target="confluent_schema_registry_cluster_config.orders", and remove the old Schema Registry API key. Alternatively, in case the old Schema Registry API Key was deleted already, you might need to run pulumi preview -refresh=false -target="confluent_schema_registry_cluster_config.orders" -out=rotate-schema-registry-api-key and pulumi up rotate-schema-registry-api-key instead.

    !> Warning: Use Option #2 to avoid exposing sensitive credentials value in a state file. When using Option #1, Terraform doesn't encrypt the sensitive credentials value of the confluentcloud.SchemaRegistryClusterConfig resource, so you must keep your state file secure to avoid exposing it. Refer to the Terraform documentation to learn more about securing your state file.

    Note: To configure a config at the context level, affecting all subjects created within that context, use confluentcloud.SubjectConfig resource and pass in the context name as the subject_name. See the confluentcloud.SubjectConfig` resource documentation for more details.

    key String
    The Schema Registry API Key.
    secret String

    The Schema Registry API Secret.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Schema Registry API key, create a new Schema Registry API key, update the credentials block in all configuration files to use the new Schema Registry API key, run pulumi up -target="confluent_schema_registry_cluster_config.orders", and remove the old Schema Registry API key. Alternatively, in case the old Schema Registry API Key was deleted already, you might need to run pulumi preview -refresh=false -target="confluent_schema_registry_cluster_config.orders" -out=rotate-schema-registry-api-key and pulumi up rotate-schema-registry-api-key instead.

    !> Warning: Use Option #2 to avoid exposing sensitive credentials value in a state file. When using Option #1, Terraform doesn't encrypt the sensitive credentials value of the confluentcloud.SchemaRegistryClusterConfig resource, so you must keep your state file secure to avoid exposing it. Refer to the Terraform documentation to learn more about securing your state file.

    Note: To configure a config at the context level, affecting all subjects created within that context, use confluentcloud.SubjectConfig resource and pass in the context name as the subject_name. See the confluentcloud.SubjectConfig` resource documentation for more details.

    key string
    The Schema Registry API Key.
    secret string

    The Schema Registry API Secret.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Schema Registry API key, create a new Schema Registry API key, update the credentials block in all configuration files to use the new Schema Registry API key, run pulumi up -target="confluent_schema_registry_cluster_config.orders", and remove the old Schema Registry API key. Alternatively, in case the old Schema Registry API Key was deleted already, you might need to run pulumi preview -refresh=false -target="confluent_schema_registry_cluster_config.orders" -out=rotate-schema-registry-api-key and pulumi up rotate-schema-registry-api-key instead.

    !> Warning: Use Option #2 to avoid exposing sensitive credentials value in a state file. When using Option #1, Terraform doesn't encrypt the sensitive credentials value of the confluentcloud.SchemaRegistryClusterConfig resource, so you must keep your state file secure to avoid exposing it. Refer to the Terraform documentation to learn more about securing your state file.

    Note: To configure a config at the context level, affecting all subjects created within that context, use confluentcloud.SubjectConfig resource and pass in the context name as the subject_name. See the confluentcloud.SubjectConfig` resource documentation for more details.

    key str
    The Schema Registry API Key.
    secret str

    The Schema Registry API Secret.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Schema Registry API key, create a new Schema Registry API key, update the credentials block in all configuration files to use the new Schema Registry API key, run pulumi up -target="confluent_schema_registry_cluster_config.orders", and remove the old Schema Registry API key. Alternatively, in case the old Schema Registry API Key was deleted already, you might need to run pulumi preview -refresh=false -target="confluent_schema_registry_cluster_config.orders" -out=rotate-schema-registry-api-key and pulumi up rotate-schema-registry-api-key instead.

    !> Warning: Use Option #2 to avoid exposing sensitive credentials value in a state file. When using Option #1, Terraform doesn't encrypt the sensitive credentials value of the confluentcloud.SchemaRegistryClusterConfig resource, so you must keep your state file secure to avoid exposing it. Refer to the Terraform documentation to learn more about securing your state file.

    Note: To configure a config at the context level, affecting all subjects created within that context, use confluentcloud.SubjectConfig resource and pass in the context name as the subject_name. See the confluentcloud.SubjectConfig` resource documentation for more details.

    key String
    The Schema Registry API Key.
    secret String

    The Schema Registry API Secret.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Schema Registry API key, create a new Schema Registry API key, update the credentials block in all configuration files to use the new Schema Registry API key, run pulumi up -target="confluent_schema_registry_cluster_config.orders", and remove the old Schema Registry API key. Alternatively, in case the old Schema Registry API Key was deleted already, you might need to run pulumi preview -refresh=false -target="confluent_schema_registry_cluster_config.orders" -out=rotate-schema-registry-api-key and pulumi up rotate-schema-registry-api-key instead.

    !> Warning: Use Option #2 to avoid exposing sensitive credentials value in a state file. When using Option #1, Terraform doesn't encrypt the sensitive credentials value of the confluentcloud.SchemaRegistryClusterConfig resource, so you must keep your state file secure to avoid exposing it. Refer to the Terraform documentation to learn more about securing your state file.

    Note: To configure a config at the context level, affecting all subjects created within that context, use confluentcloud.SubjectConfig resource and pass in the context name as the subject_name. See the confluentcloud.SubjectConfig` resource documentation for more details.

    SchemaRegistryClusterConfigSchemaRegistryCluster, SchemaRegistryClusterConfigSchemaRegistryClusterArgs

    Id string
    The ID of the Schema Registry cluster, for example, lsrc-abc123.
    Id string
    The ID of the Schema Registry cluster, for example, lsrc-abc123.
    id String
    The ID of the Schema Registry cluster, for example, lsrc-abc123.
    id string
    The ID of the Schema Registry cluster, for example, lsrc-abc123.
    id str
    The ID of the Schema Registry cluster, for example, lsrc-abc123.
    id String
    The ID of the Schema Registry cluster, for example, lsrc-abc123.

    Import

    You can import a Schema Registry Cluster Config by using the Schema Registry cluster ID, Subject name in the format <Schema Registry cluster ID>, for example:

    $ export IMPORT_SCHEMA_REGISTRY_API_KEY="<schema_registry_api_key>"
    $ export IMPORT_SCHEMA_REGISTRY_API_SECRET="<schema_registry_api_secret>"
    $ export IMPORT_SCHEMA_REGISTRY_REST_ENDPOINT="<schema_registry_rest_endpoint>"
    $ pulumi import confluentcloud:index/schemaRegistryClusterConfig:SchemaRegistryClusterConfig example lsrc-abc123
    

    !> Warning: Do not forget to delete terminal command history afterwards for security purposes.

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

    Package Details

    Repository
    Confluent Cloud pulumi/pulumi-confluentcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the confluent Terraform Provider.
    confluentcloud logo
    Viewing docs for Confluent v2.61.0
    published on Saturday, Mar 21, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.