ibm.SmPublicCertificateConfigurationCaLetsEncrypt
Explore with Pulumi AI
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:
- Create or find your
ibmcloud_api_key
andiaas_classic_api_key
here.
- Select
My IBM Cloud API Keys
option from view dropdown foribmcloud_api_key
- Select
Classic Infrastructure API Keys
option from view dropdown foriaas_classic_api_key
- For iaas_classic_username
- Go to Users
- Click on user.
- Find user name in the
VPN password
section underUser 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:
- Instance
Id string - The GUID of the Secrets Manager instance.
- Lets
Encrypt stringEnvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- Lets
Encrypt stringPrivate Key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- Endpoint
Type 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
.
- Constraints: Allowable values are:
- Lets
Encrypt stringPreferred Chain - 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
/(.*?)/
.
- 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.
- Sm
Public stringCertificate Configuration Ca Lets Encrypt Id - The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
- Instance
Id string - The GUID of the Secrets Manager instance.
- Lets
Encrypt stringEnvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- Lets
Encrypt stringPrivate Key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- Endpoint
Type 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
.
- Constraints: Allowable values are:
- Lets
Encrypt stringPreferred Chain - 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
/(.*?)/
.
- 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.
- Sm
Public stringCertificate Configuration Ca Lets Encrypt Id - The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
- instance
Id String - The GUID of the Secrets Manager instance.
- lets
Encrypt StringEnvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- lets
Encrypt StringPrivate Key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- endpoint
Type 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
.
- Constraints: Allowable values are:
- lets
Encrypt StringPreferred Chain - 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
/(.*?)/
.
- 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.
- sm
Public StringCertificate Configuration Ca Lets Encrypt Id - The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
- instance
Id string - The GUID of the Secrets Manager instance.
- lets
Encrypt stringEnvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- lets
Encrypt stringPrivate Key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- endpoint
Type 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
.
- Constraints: Allowable values are:
- lets
Encrypt stringPreferred Chain - 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
/(.*?)/
.
- 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.
- sm
Public stringCertificate Configuration Ca Lets Encrypt Id - The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
- instance_
id str - The GUID of the Secrets Manager instance.
- lets_
encrypt_ strenvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- lets_
encrypt_ strprivate_ key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- 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
.
- Constraints: Allowable values are:
- lets_
encrypt_ strpreferred_ chain - 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
/(.*?)/
.
- 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_ strcertificate_ configuration_ ca_ lets_ encrypt_ id - The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
- instance
Id String - The GUID of the Secrets Manager instance.
- lets
Encrypt StringEnvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- lets
Encrypt StringPrivate Key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- endpoint
Type 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
.
- Constraints: Allowable values are:
- lets
Encrypt StringPreferred Chain - 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
/(.*?)/
.
- 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.
- sm
Public StringCertificate Configuration Ca Lets Encrypt Id - 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:
- Config
Type 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
.
- Constraints: Allowable values are:
- Id string
- The provider-assigned unique ID for this managed resource.
- Secret
Type 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
.
- Constraints: Allowable values are:
- Config
Type 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
.
- Constraints: Allowable values are:
- Id string
- The provider-assigned unique ID for this managed resource.
- Secret
Type 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
.
- Constraints: Allowable values are:
- config
Type 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
.
- Constraints: Allowable values are:
- id String
- The provider-assigned unique ID for this managed resource.
- secret
Type 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
.
- Constraints: Allowable values are:
- config
Type 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
.
- Constraints: Allowable values are:
- id string
- The provider-assigned unique ID for this managed resource.
- secret
Type 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- config
Type 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
.
- Constraints: Allowable values are:
- id String
- The provider-assigned unique ID for this managed resource.
- secret
Type 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
.
- Constraints: Allowable values are:
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.
- Config
Type 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
.
- Constraints: Allowable values are:
- Endpoint
Type 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
.
- Constraints: Allowable values are:
- Instance
Id string - The GUID of the Secrets Manager instance.
- Lets
Encrypt stringEnvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- Lets
Encrypt stringPreferred Chain - 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
/(.*?)/
.
- Constraints: The value must match regular expression
- Lets
Encrypt stringPrivate Key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- 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.
- Secret
Type 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
.
- Constraints: Allowable values are:
- Sm
Public stringCertificate Configuration Ca Lets Encrypt Id - The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
- Config
Type 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
.
- Constraints: Allowable values are:
- Endpoint
Type 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
.
- Constraints: Allowable values are:
- Instance
Id string - The GUID of the Secrets Manager instance.
- Lets
Encrypt stringEnvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- Lets
Encrypt stringPreferred Chain - 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
/(.*?)/
.
- Constraints: The value must match regular expression
- Lets
Encrypt stringPrivate Key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- 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.
- Secret
Type 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
.
- Constraints: Allowable values are:
- Sm
Public stringCertificate Configuration Ca Lets Encrypt Id - The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
- config
Type 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
.
- Constraints: Allowable values are:
- endpoint
Type 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
.
- Constraints: Allowable values are:
- instance
Id String - The GUID of the Secrets Manager instance.
- lets
Encrypt StringEnvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- lets
Encrypt StringPreferred Chain - 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
/(.*?)/
.
- Constraints: The value must match regular expression
- lets
Encrypt StringPrivate Key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- 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.
- secret
Type 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
.
- Constraints: Allowable values are:
- sm
Public StringCertificate Configuration Ca Lets Encrypt Id - The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
- config
Type 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
.
- Constraints: Allowable values are:
- endpoint
Type 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
.
- Constraints: Allowable values are:
- instance
Id string - The GUID of the Secrets Manager instance.
- lets
Encrypt stringEnvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- lets
Encrypt stringPreferred Chain - 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
/(.*?)/
.
- Constraints: The value must match regular expression
- lets
Encrypt stringPrivate Key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- 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.
- secret
Type 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
.
- Constraints: Allowable values are:
- sm
Public stringCertificate Configuration Ca Lets Encrypt Id - 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- instance_
id str - The GUID of the Secrets Manager instance.
- lets_
encrypt_ strenvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- lets_
encrypt_ strpreferred_ chain - 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
/(.*?)/
.
- Constraints: The value must match regular expression
- lets_
encrypt_ strprivate_ key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- 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
.
- Constraints: Allowable values are:
- sm_
public_ strcertificate_ configuration_ ca_ lets_ encrypt_ id - The unique identifier of the PublicCertificateConfigurationCALetsEncrypt.
- config
Type 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
.
- Constraints: Allowable values are:
- endpoint
Type 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
.
- Constraints: Allowable values are:
- instance
Id String - The GUID of the Secrets Manager instance.
- lets
Encrypt StringEnvironment - The configuration of the Let's Encrypt CA environment.
- Constraints: Allowable values are:
production
,staging
.
- Constraints: Allowable values are:
- lets
Encrypt StringPreferred Chain - 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
/(.*?)/
.
- Constraints: The value must match regular expression
- lets
Encrypt StringPrivate Key - The PEM encoded private key of your Lets Encrypt account.
- Constraints: The maximum length is
100000
characters. The minimum length is50
characters. The value must match regular expression/(^-----BEGIN PRIVATE KEY-----.*?)/
.
- Constraints: The maximum length is
- 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.
- secret
Type 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
.
- Constraints: Allowable values are:
- sm
Public StringCertificate Configuration Ca Lets Encrypt Id - 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.