1. Packages
  2. Ibm Provider
  3. API Docs
  4. SmPublicCertificateConfigurationDnsCis
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.SmPublicCertificateConfigurationDnsCis

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a resource for PublicCertificateConfigurationDNSCloudInternetServices. This allows PublicCertificateConfigurationDNSCloudInternetServices to be created, updated and deleted.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const smPublicCertificateConfigurationDnsCisInstance = new ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisInstance", {
        instanceId: ibm_resource_instance.sm_instance.guid,
        region: "us-south",
        cloudInternetServicesApikey: _var.sm_cis_apikey,
        cloudInternetServicesCrn: _var.sm_cis_crn,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    sm_public_certificate_configuration_dns_cis_instance = ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisInstance",
        instance_id=ibm_resource_instance["sm_instance"]["guid"],
        region="us-south",
        cloud_internet_services_apikey=var["sm_cis_apikey"],
        cloud_internet_services_crn=var["sm_cis_crn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewSmPublicCertificateConfigurationDnsCis(ctx, "smPublicCertificateConfigurationDnsCisInstance", &ibm.SmPublicCertificateConfigurationDnsCisArgs{
    			InstanceId:                  pulumi.Any(ibm_resource_instance.Sm_instance.Guid),
    			Region:                      pulumi.String("us-south"),
    			CloudInternetServicesApikey: pulumi.Any(_var.Sm_cis_apikey),
    			CloudInternetServicesCrn:    pulumi.Any(_var.Sm_cis_crn),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var smPublicCertificateConfigurationDnsCisInstance = new Ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisInstance", new()
        {
            InstanceId = ibm_resource_instance.Sm_instance.Guid,
            Region = "us-south",
            CloudInternetServicesApikey = @var.Sm_cis_apikey,
            CloudInternetServicesCrn = @var.Sm_cis_crn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.SmPublicCertificateConfigurationDnsCis;
    import com.pulumi.ibm.SmPublicCertificateConfigurationDnsCisArgs;
    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 smPublicCertificateConfigurationDnsCisInstance = new SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisInstance", SmPublicCertificateConfigurationDnsCisArgs.builder()
                .instanceId(ibm_resource_instance.sm_instance().guid())
                .region("us-south")
                .cloudInternetServicesApikey(var_.sm_cis_apikey())
                .cloudInternetServicesCrn(var_.sm_cis_crn())
                .build());
    
        }
    }
    
    resources:
      smPublicCertificateConfigurationDnsCisInstance:
        type: ibm:SmPublicCertificateConfigurationDnsCis
        properties:
          instanceId: ${ibm_resource_instance.sm_instance.guid}
          region: us-south
          cloudInternetServicesApikey: ${var.sm_cis_apikey}
          cloudInternetServicesCrn: ${var.sm_cis_crn}
    

    Provider Configuration

    The IBM Cloud provider offers a flexible means of providing credentials for authentication. The following methods are supported, in this order, and explained below:

    • Static credentials
    • Environment variables

    To find which credentials are required for this resource, see the service table here.

    Static credentials

    You can provide your static credentials by adding the ibmcloud_api_key, iaas_classic_username, and iaas_classic_api_key arguments in the IBM Cloud provider block.

    Usage:

    provider "ibm" {
        ibmcloud_api_key = ""
        iaas_classic_username = ""
        iaas_classic_api_key = ""
    }
    

    Environment variables

    You can provide your credentials by exporting the IC_API_KEY, IAAS_CLASSIC_USERNAME, and IAAS_CLASSIC_API_KEY environment variables, representing your IBM Cloud platform API key, IBM Cloud Classic Infrastructure (SoftLayer) user name, and IBM Cloud infrastructure API key, respectively.

    provider "ibm" {}
    

    Usage:

    export IC_API_KEY="ibmcloud_api_key"
    export IAAS_CLASSIC_USERNAME="iaas_classic_username"
    export IAAS_CLASSIC_API_KEY="iaas_classic_api_key"
    pulumi preview
    

    Note:

    1. Create or find your ibmcloud_api_key and iaas_classic_api_key here.
    • Select My IBM Cloud API Keys option from view dropdown for ibmcloud_api_key
    • Select Classic Infrastructure API Keys option from view dropdown for iaas_classic_api_key
    1. For iaas_classic_username
    • Go to Users
    • Click on user.
    • Find user name in the VPN password section under User Details tab

    For more informaton, see here.

    Create SmPublicCertificateConfigurationDnsCis Resource

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

    Constructor syntax

    new SmPublicCertificateConfigurationDnsCis(name: string, args: SmPublicCertificateConfigurationDnsCisArgs, opts?: CustomResourceOptions);
    @overload
    def SmPublicCertificateConfigurationDnsCis(resource_name: str,
                                               args: SmPublicCertificateConfigurationDnsCisArgs,
                                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def SmPublicCertificateConfigurationDnsCis(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               cloud_internet_services_crn: Optional[str] = None,
                                               instance_id: Optional[str] = None,
                                               cloud_internet_services_apikey: Optional[str] = None,
                                               endpoint_type: Optional[str] = None,
                                               name: Optional[str] = None,
                                               region: Optional[str] = None,
                                               sm_public_certificate_configuration_dns_cis_id: Optional[str] = None)
    func NewSmPublicCertificateConfigurationDnsCis(ctx *Context, name string, args SmPublicCertificateConfigurationDnsCisArgs, opts ...ResourceOption) (*SmPublicCertificateConfigurationDnsCis, error)
    public SmPublicCertificateConfigurationDnsCis(string name, SmPublicCertificateConfigurationDnsCisArgs args, CustomResourceOptions? opts = null)
    public SmPublicCertificateConfigurationDnsCis(String name, SmPublicCertificateConfigurationDnsCisArgs args)
    public SmPublicCertificateConfigurationDnsCis(String name, SmPublicCertificateConfigurationDnsCisArgs args, CustomResourceOptions options)
    
    type: ibm:SmPublicCertificateConfigurationDnsCis
    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 SmPublicCertificateConfigurationDnsCisArgs
    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 SmPublicCertificateConfigurationDnsCisArgs
    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 SmPublicCertificateConfigurationDnsCisArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SmPublicCertificateConfigurationDnsCisArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SmPublicCertificateConfigurationDnsCisArgs
    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 smPublicCertificateConfigurationDnsCisResource = new Ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisResource", new()
    {
        CloudInternetServicesCrn = "string",
        InstanceId = "string",
        CloudInternetServicesApikey = "string",
        EndpointType = "string",
        Name = "string",
        Region = "string",
        SmPublicCertificateConfigurationDnsCisId = "string",
    });
    
    example, err := ibm.NewSmPublicCertificateConfigurationDnsCis(ctx, "smPublicCertificateConfigurationDnsCisResource", &ibm.SmPublicCertificateConfigurationDnsCisArgs{
    	CloudInternetServicesCrn:                 pulumi.String("string"),
    	InstanceId:                               pulumi.String("string"),
    	CloudInternetServicesApikey:              pulumi.String("string"),
    	EndpointType:                             pulumi.String("string"),
    	Name:                                     pulumi.String("string"),
    	Region:                                   pulumi.String("string"),
    	SmPublicCertificateConfigurationDnsCisId: pulumi.String("string"),
    })
    
    var smPublicCertificateConfigurationDnsCisResource = new SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisResource", SmPublicCertificateConfigurationDnsCisArgs.builder()
        .cloudInternetServicesCrn("string")
        .instanceId("string")
        .cloudInternetServicesApikey("string")
        .endpointType("string")
        .name("string")
        .region("string")
        .smPublicCertificateConfigurationDnsCisId("string")
        .build());
    
    sm_public_certificate_configuration_dns_cis_resource = ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisResource",
        cloud_internet_services_crn="string",
        instance_id="string",
        cloud_internet_services_apikey="string",
        endpoint_type="string",
        name="string",
        region="string",
        sm_public_certificate_configuration_dns_cis_id="string")
    
    const smPublicCertificateConfigurationDnsCisResource = new ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisResource", {
        cloudInternetServicesCrn: "string",
        instanceId: "string",
        cloudInternetServicesApikey: "string",
        endpointType: "string",
        name: "string",
        region: "string",
        smPublicCertificateConfigurationDnsCisId: "string",
    });
    
    type: ibm:SmPublicCertificateConfigurationDnsCis
    properties:
        cloudInternetServicesApikey: string
        cloudInternetServicesCrn: string
        endpointType: string
        instanceId: string
        name: string
        region: string
        smPublicCertificateConfigurationDnsCisId: string
    

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

    CloudInternetServicesCrn string
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    InstanceId string
    The GUID of the Secrets Manager instance.
    CloudInternetServicesApikey string
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    EndpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    Name string
    A human-readable unique name to assign to your DNS provider configuration name.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SmPublicCertificateConfigurationDnsCisId string
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    CloudInternetServicesCrn string
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    InstanceId string
    The GUID of the Secrets Manager instance.
    CloudInternetServicesApikey string
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    EndpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    Name string
    A human-readable unique name to assign to your DNS provider configuration name.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SmPublicCertificateConfigurationDnsCisId string
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    cloudInternetServicesCrn String
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    instanceId String
    The GUID of the Secrets Manager instance.
    cloudInternetServicesApikey String
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    endpointType String
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    name String
    A human-readable unique name to assign to your DNS provider configuration name.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    smPublicCertificateConfigurationDnsCisId String
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    cloudInternetServicesCrn string
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    instanceId string
    The GUID of the Secrets Manager instance.
    cloudInternetServicesApikey string
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    endpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    name string
    A human-readable unique name to assign to your DNS provider configuration name.
    region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    smPublicCertificateConfigurationDnsCisId string
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    cloud_internet_services_crn str
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    instance_id str
    The GUID of the Secrets Manager instance.
    cloud_internet_services_apikey str
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    endpoint_type str
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    name str
    A human-readable unique name to assign to your DNS provider configuration name.
    region str
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    sm_public_certificate_configuration_dns_cis_id str
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    cloudInternetServicesCrn String
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    instanceId String
    The GUID of the Secrets Manager instance.
    cloudInternetServicesApikey String
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    endpointType String
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    name String
    A human-readable unique name to assign to your DNS provider configuration name.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    smPublicCertificateConfigurationDnsCisId String
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.

    Outputs

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

    ConfigType string
    The configuration type.
    CreatedAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    CreatedBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    Id string
    The provider-assigned unique ID for this managed resource.
    SecretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    UpdatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    ConfigType string
    The configuration type.
    CreatedAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    CreatedBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    Id string
    The provider-assigned unique ID for this managed resource.
    SecretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    UpdatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    configType String
    The configuration type.
    createdAt String
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy String
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    id String
    The provider-assigned unique ID for this managed resource.
    secretType String
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    updatedAt String
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    configType string
    The configuration type.
    createdAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    id string
    The provider-assigned unique ID for this managed resource.
    secretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    updatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    config_type str
    The configuration type.
    created_at str
    (String) The date when a resource was created. The date format follows RFC 3339.
    created_by str
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    id str
    The provider-assigned unique ID for this managed resource.
    secret_type str
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    updated_at str
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    configType String
    The configuration type.
    createdAt String
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy String
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    id String
    The provider-assigned unique ID for this managed resource.
    secretType String
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    updatedAt String
    (String) The date when a resource was recently modified. The date format follows RFC 3339.

    Look up Existing SmPublicCertificateConfigurationDnsCis Resource

    Get an existing SmPublicCertificateConfigurationDnsCis 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?: SmPublicCertificateConfigurationDnsCisState, opts?: CustomResourceOptions): SmPublicCertificateConfigurationDnsCis
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloud_internet_services_apikey: Optional[str] = None,
            cloud_internet_services_crn: Optional[str] = None,
            config_type: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            endpoint_type: Optional[str] = None,
            instance_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            secret_type: Optional[str] = None,
            sm_public_certificate_configuration_dns_cis_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> SmPublicCertificateConfigurationDnsCis
    func GetSmPublicCertificateConfigurationDnsCis(ctx *Context, name string, id IDInput, state *SmPublicCertificateConfigurationDnsCisState, opts ...ResourceOption) (*SmPublicCertificateConfigurationDnsCis, error)
    public static SmPublicCertificateConfigurationDnsCis Get(string name, Input<string> id, SmPublicCertificateConfigurationDnsCisState? state, CustomResourceOptions? opts = null)
    public static SmPublicCertificateConfigurationDnsCis get(String name, Output<String> id, SmPublicCertificateConfigurationDnsCisState state, CustomResourceOptions options)
    resources:  _:    type: ibm:SmPublicCertificateConfigurationDnsCis    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:
    CloudInternetServicesApikey string
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    CloudInternetServicesCrn string
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    ConfigType string
    The configuration type.
    CreatedAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    CreatedBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    EndpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    InstanceId string
    The GUID of the Secrets Manager instance.
    Name string
    A human-readable unique name to assign to your DNS provider configuration name.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SecretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    SmPublicCertificateConfigurationDnsCisId string
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    UpdatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    CloudInternetServicesApikey string
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    CloudInternetServicesCrn string
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    ConfigType string
    The configuration type.
    CreatedAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    CreatedBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    EndpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    InstanceId string
    The GUID of the Secrets Manager instance.
    Name string
    A human-readable unique name to assign to your DNS provider configuration name.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SecretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    SmPublicCertificateConfigurationDnsCisId string
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    UpdatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    cloudInternetServicesApikey String
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    cloudInternetServicesCrn String
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    configType String
    The configuration type.
    createdAt String
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy String
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    endpointType String
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    instanceId String
    The GUID of the Secrets Manager instance.
    name String
    A human-readable unique name to assign to your DNS provider configuration name.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secretType String
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    smPublicCertificateConfigurationDnsCisId String
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    updatedAt String
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    cloudInternetServicesApikey string
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    cloudInternetServicesCrn string
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    configType string
    The configuration type.
    createdAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    endpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    instanceId string
    The GUID of the Secrets Manager instance.
    name string
    A human-readable unique name to assign to your DNS provider configuration name.
    region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    smPublicCertificateConfigurationDnsCisId string
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    updatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    cloud_internet_services_apikey str
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    cloud_internet_services_crn str
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    config_type str
    The configuration type.
    created_at str
    (String) The date when a resource was created. The date format follows RFC 3339.
    created_by str
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    endpoint_type str
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    instance_id str
    The GUID of the Secrets Manager instance.
    name str
    A human-readable unique name to assign to your DNS provider configuration name.
    region str
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secret_type str
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    sm_public_certificate_configuration_dns_cis_id str
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    updated_at str
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    cloudInternetServicesApikey String
    An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (internet-svcs).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters. The value must match regular expression /(.*?)/.
    cloudInternetServicesCrn String
    A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    configType String
    The configuration type.
    createdAt String
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy String
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    endpointType String
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    instanceId String
    The GUID of the Secrets Manager instance.
    name String
    A human-readable unique name to assign to your DNS provider configuration name.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secretType String
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    smPublicCertificateConfigurationDnsCisId String
    The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
    updatedAt String
    (String) The date when a resource was recently modified. The date format follows RFC 3339.

    Import

    You can import the ibm_sm_public_certificate_configuration_dns_cis resource by using region, instance_id, and name.

    For more information, see the documentation

    Syntax

    bash

    $ pulumi import ibm:index/smPublicCertificateConfigurationDnsCis:SmPublicCertificateConfigurationDnsCis sm_public_certificate_configuration_dns_cis <region>/<instance_id>/<name>
    

    Example

    bash

    $ pulumi import ibm:index/smPublicCertificateConfigurationDnsCis:SmPublicCertificateConfigurationDnsCis sm_public_certificate_configuration_dns_cis us-east/6ebc4224-e983-496a-8a54-f40a0bfa9175/my_DNS_CIS_config
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud