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

ibm.SmPublicCertificateConfigurationCaLetsEncrypt

Explore with Pulumi AI

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

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

    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 SmPublicCertificateConfigurationCaLetsEncrypt Resource

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

    Constructor syntax

    new SmPublicCertificateConfigurationCaLetsEncrypt(name: string, args: SmPublicCertificateConfigurationCaLetsEncryptArgs, opts?: CustomResourceOptions);
    @overload
    def SmPublicCertificateConfigurationCaLetsEncrypt(resource_name: str,
                                                      args: SmPublicCertificateConfigurationCaLetsEncryptArgs,
                                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def SmPublicCertificateConfigurationCaLetsEncrypt(resource_name: str,
                                                      opts: Optional[ResourceOptions] = None,
                                                      instance_id: Optional[str] = None,
                                                      lets_encrypt_environment: Optional[str] = None,
                                                      lets_encrypt_private_key: Optional[str] = None,
                                                      endpoint_type: Optional[str] = None,
                                                      lets_encrypt_preferred_chain: Optional[str] = None,
                                                      name: Optional[str] = None,
                                                      region: Optional[str] = None,
                                                      sm_public_certificate_configuration_ca_lets_encrypt_id: Optional[str] = None)
    func NewSmPublicCertificateConfigurationCaLetsEncrypt(ctx *Context, name string, args SmPublicCertificateConfigurationCaLetsEncryptArgs, opts ...ResourceOption) (*SmPublicCertificateConfigurationCaLetsEncrypt, error)
    public SmPublicCertificateConfigurationCaLetsEncrypt(string name, SmPublicCertificateConfigurationCaLetsEncryptArgs args, CustomResourceOptions? opts = null)
    public SmPublicCertificateConfigurationCaLetsEncrypt(String name, SmPublicCertificateConfigurationCaLetsEncryptArgs args)
    public SmPublicCertificateConfigurationCaLetsEncrypt(String name, SmPublicCertificateConfigurationCaLetsEncryptArgs args, CustomResourceOptions options)
    
    type: ibm:SmPublicCertificateConfigurationCaLetsEncrypt
    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 SmPublicCertificateConfigurationCaLetsEncryptArgs
    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 SmPublicCertificateConfigurationCaLetsEncryptArgs
    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 SmPublicCertificateConfigurationCaLetsEncryptArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SmPublicCertificateConfigurationCaLetsEncryptArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SmPublicCertificateConfigurationCaLetsEncryptArgs
    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 smPublicCertificateConfigurationCaLetsEncryptResource = new Ibm.SmPublicCertificateConfigurationCaLetsEncrypt("smPublicCertificateConfigurationCaLetsEncryptResource", new()
    {
        InstanceId = "string",
        LetsEncryptEnvironment = "string",
        LetsEncryptPrivateKey = "string",
        EndpointType = "string",
        LetsEncryptPreferredChain = "string",
        Name = "string",
        Region = "string",
        SmPublicCertificateConfigurationCaLetsEncryptId = "string",
    });
    
    example, err := ibm.NewSmPublicCertificateConfigurationCaLetsEncrypt(ctx, "smPublicCertificateConfigurationCaLetsEncryptResource", &ibm.SmPublicCertificateConfigurationCaLetsEncryptArgs{
    	InstanceId:                pulumi.String("string"),
    	LetsEncryptEnvironment:    pulumi.String("string"),
    	LetsEncryptPrivateKey:     pulumi.String("string"),
    	EndpointType:              pulumi.String("string"),
    	LetsEncryptPreferredChain: pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	Region:                    pulumi.String("string"),
    	SmPublicCertificateConfigurationCaLetsEncryptId: pulumi.String("string"),
    })
    
    var smPublicCertificateConfigurationCaLetsEncryptResource = new SmPublicCertificateConfigurationCaLetsEncrypt("smPublicCertificateConfigurationCaLetsEncryptResource", SmPublicCertificateConfigurationCaLetsEncryptArgs.builder()
        .instanceId("string")
        .letsEncryptEnvironment("string")
        .letsEncryptPrivateKey("string")
        .endpointType("string")
        .letsEncryptPreferredChain("string")
        .name("string")
        .region("string")
        .smPublicCertificateConfigurationCaLetsEncryptId("string")
        .build());
    
    sm_public_certificate_configuration_ca_lets_encrypt_resource = ibm.SmPublicCertificateConfigurationCaLetsEncrypt("smPublicCertificateConfigurationCaLetsEncryptResource",
        instance_id="string",
        lets_encrypt_environment="string",
        lets_encrypt_private_key="string",
        endpoint_type="string",
        lets_encrypt_preferred_chain="string",
        name="string",
        region="string",
        sm_public_certificate_configuration_ca_lets_encrypt_id="string")
    
    const smPublicCertificateConfigurationCaLetsEncryptResource = new ibm.SmPublicCertificateConfigurationCaLetsEncrypt("smPublicCertificateConfigurationCaLetsEncryptResource", {
        instanceId: "string",
        letsEncryptEnvironment: "string",
        letsEncryptPrivateKey: "string",
        endpointType: "string",
        letsEncryptPreferredChain: "string",
        name: "string",
        region: "string",
        smPublicCertificateConfigurationCaLetsEncryptId: "string",
    });
    
    type: ibm:SmPublicCertificateConfigurationCaLetsEncrypt
    properties:
        endpointType: string
        instanceId: string
        letsEncryptEnvironment: string
        letsEncryptPreferredChain: string
        letsEncryptPrivateKey: string
        name: string
        region: string
        smPublicCertificateConfigurationCaLetsEncryptId: string
    

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

    InstanceId string
    The GUID of the Secrets Manager instance.
    LetsEncryptEnvironment string
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    LetsEncryptPrivateKey string
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    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.
    LetsEncryptPreferredChain string
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    Name string
    A human-readable unique name to assign to your configuration.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SmPublicCertificateConfigurationCaLetsEncryptId string
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
    InstanceId string
    The GUID of the Secrets Manager instance.
    LetsEncryptEnvironment string
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    LetsEncryptPrivateKey string
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    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.
    LetsEncryptPreferredChain string
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    Name string
    A human-readable unique name to assign to your configuration.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SmPublicCertificateConfigurationCaLetsEncryptId string
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
    instanceId String
    The GUID of the Secrets Manager instance.
    letsEncryptEnvironment String
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    letsEncryptPrivateKey String
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    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.
    letsEncryptPreferredChain String
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    name String
    A human-readable unique name to assign to your configuration.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    smPublicCertificateConfigurationCaLetsEncryptId String
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
    instanceId string
    The GUID of the Secrets Manager instance.
    letsEncryptEnvironment string
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    letsEncryptPrivateKey string
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    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.
    letsEncryptPreferredChain string
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    name string
    A human-readable unique name to assign to your configuration.
    region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    smPublicCertificateConfigurationCaLetsEncryptId string
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
    instance_id str
    The GUID of the Secrets Manager instance.
    lets_encrypt_environment str
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    lets_encrypt_private_key str
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    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.
    lets_encrypt_preferred_chain str
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    name str
    A human-readable unique name to assign to your configuration.
    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_ca_lets_encrypt_id str
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
    instanceId String
    The GUID of the Secrets Manager instance.
    letsEncryptEnvironment String
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    letsEncryptPrivateKey String
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    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.
    letsEncryptPreferredChain String
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    name String
    A human-readable unique name to assign to your configuration.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    smPublicCertificateConfigurationCaLetsEncryptId String
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.

    Outputs

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

    ConfigType string
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    ConfigType string
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    configType String
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    configType string
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    config_type str
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    configType String
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.

    Look up Existing SmPublicCertificateConfigurationCaLetsEncrypt Resource

    Get an existing SmPublicCertificateConfigurationCaLetsEncrypt 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?: SmPublicCertificateConfigurationCaLetsEncryptState, opts?: CustomResourceOptions): SmPublicCertificateConfigurationCaLetsEncrypt
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config_type: Optional[str] = None,
            endpoint_type: Optional[str] = None,
            instance_id: Optional[str] = None,
            lets_encrypt_environment: Optional[str] = None,
            lets_encrypt_preferred_chain: Optional[str] = None,
            lets_encrypt_private_key: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            secret_type: Optional[str] = None,
            sm_public_certificate_configuration_ca_lets_encrypt_id: Optional[str] = None) -> SmPublicCertificateConfigurationCaLetsEncrypt
    func GetSmPublicCertificateConfigurationCaLetsEncrypt(ctx *Context, name string, id IDInput, state *SmPublicCertificateConfigurationCaLetsEncryptState, opts ...ResourceOption) (*SmPublicCertificateConfigurationCaLetsEncrypt, error)
    public static SmPublicCertificateConfigurationCaLetsEncrypt Get(string name, Input<string> id, SmPublicCertificateConfigurationCaLetsEncryptState? state, CustomResourceOptions? opts = null)
    public static SmPublicCertificateConfigurationCaLetsEncrypt get(String name, Output<String> id, SmPublicCertificateConfigurationCaLetsEncryptState state, CustomResourceOptions options)
    resources:  _:    type: ibm:SmPublicCertificateConfigurationCaLetsEncrypt    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:
    ConfigType string
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    LetsEncryptEnvironment string
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    LetsEncryptPreferredChain string
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    LetsEncryptPrivateKey string
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    Name string
    A human-readable unique name to assign to your configuration.
    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.
    SmPublicCertificateConfigurationCaLetsEncryptId string
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
    ConfigType string
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    LetsEncryptEnvironment string
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    LetsEncryptPreferredChain string
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    LetsEncryptPrivateKey string
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    Name string
    A human-readable unique name to assign to your configuration.
    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.
    SmPublicCertificateConfigurationCaLetsEncryptId string
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
    configType String
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    letsEncryptEnvironment String
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    letsEncryptPreferredChain String
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    letsEncryptPrivateKey String
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    name String
    A human-readable unique name to assign to your configuration.
    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.
    smPublicCertificateConfigurationCaLetsEncryptId String
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
    configType string
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    letsEncryptEnvironment string
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    letsEncryptPreferredChain string
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    letsEncryptPrivateKey string
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    name string
    A human-readable unique name to assign to your configuration.
    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.
    smPublicCertificateConfigurationCaLetsEncryptId string
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
    config_type str
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    lets_encrypt_environment str
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    lets_encrypt_preferred_chain str
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    lets_encrypt_private_key str
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    name str
    A human-readable unique name to assign to your configuration.
    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_ca_lets_encrypt_id str
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
    configType String
    (String) The configuration type.

    • Constraints: Allowable values are: public_cert_configuration_ca_lets_encrypt, public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services, iam_credentials_configuration, private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca, private_cert_configuration_template.
    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.
    letsEncryptEnvironment String
    The configuration of the Let's Encrypt CA environment.

    • Constraints: Allowable values are: production, staging.
    letsEncryptPreferredChain String
    This field supports only the chains that Let's Encrypt provides. Keep empty to use the default or supply a valid Let's Encrypt-provided value. For a list of supported chains, see: https://letsencrypt.org/certificates/.

    • Constraints: The value must match regular expression /(.*?)/.
    letsEncryptPrivateKey String
    The PEM encoded private key of your Lets Encrypt account.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters. The value must match regular expression /(^-----BEGIN PRIVATE KEY-----.*?)/.
    name String
    A human-readable unique name to assign to your configuration.
    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.
    smPublicCertificateConfigurationCaLetsEncryptId String
    The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.

    Import

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

    For more information, see the documentation

    Syntax

    bash

    $ pulumi import ibm:index/smPublicCertificateConfigurationCaLetsEncrypt:SmPublicCertificateConfigurationCaLetsEncrypt sm_public_certificate_configuration_ca_lets_encrypt <region>/<instance_id>/<name>
    

    Example

    bash

    $ pulumi import ibm:index/smPublicCertificateConfigurationCaLetsEncrypt:SmPublicCertificateConfigurationCaLetsEncrypt sm_public_certificate_configuration_ca_lets_encrypt us-east/6ebc4224-e983-496a-8a54-f40a0bfa9175/lets-encrypt-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