ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getSmPrivateCertificateConfigurationTemplate
Explore with Pulumi AI
Provides a read-only data source for the configuration of a private certificate template. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const privateCertificateTemplate = ibm.getSmPrivateCertificateConfigurationTemplate({
    instanceId: ibm_resource_instance.sm_instance.guid,
    region: "us-south",
    name: "configuration-name",
});
import pulumi
import pulumi_ibm as ibm
private_certificate_template = ibm.get_sm_private_certificate_configuration_template(instance_id=ibm_resource_instance["sm_instance"]["guid"],
    region="us-south",
    name="configuration-name")
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.LookupSmPrivateCertificateConfigurationTemplate(ctx, &ibm.LookupSmPrivateCertificateConfigurationTemplateArgs{
			InstanceId: ibm_resource_instance.Sm_instance.Guid,
			Region:     pulumi.StringRef("us-south"),
			Name:       "configuration-name",
		}, nil)
		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 privateCertificateTemplate = Ibm.GetSmPrivateCertificateConfigurationTemplate.Invoke(new()
    {
        InstanceId = ibm_resource_instance.Sm_instance.Guid,
        Region = "us-south",
        Name = "configuration-name",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetSmPrivateCertificateConfigurationTemplateArgs;
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) {
        final var privateCertificateTemplate = IbmFunctions.getSmPrivateCertificateConfigurationTemplate(GetSmPrivateCertificateConfigurationTemplateArgs.builder()
            .instanceId(ibm_resource_instance.sm_instance().guid())
            .region("us-south")
            .name("configuration-name")
            .build());
    }
}
variables:
  privateCertificateTemplate:
    fn::invoke:
      function: ibm:getSmPrivateCertificateConfigurationTemplate
      arguments:
        instanceId: ${ibm_resource_instance.sm_instance.guid}
        region: us-south
        name: configuration-name
Using getSmPrivateCertificateConfigurationTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSmPrivateCertificateConfigurationTemplate(args: GetSmPrivateCertificateConfigurationTemplateArgs, opts?: InvokeOptions): Promise<GetSmPrivateCertificateConfigurationTemplateResult>
function getSmPrivateCertificateConfigurationTemplateOutput(args: GetSmPrivateCertificateConfigurationTemplateOutputArgs, opts?: InvokeOptions): Output<GetSmPrivateCertificateConfigurationTemplateResult>def get_sm_private_certificate_configuration_template(endpoint_type: Optional[str] = None,
                                                      id: Optional[str] = None,
                                                      instance_id: Optional[str] = None,
                                                      name: Optional[str] = None,
                                                      region: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetSmPrivateCertificateConfigurationTemplateResult
def get_sm_private_certificate_configuration_template_output(endpoint_type: Optional[pulumi.Input[str]] = None,
                                                      id: Optional[pulumi.Input[str]] = None,
                                                      instance_id: Optional[pulumi.Input[str]] = None,
                                                      name: Optional[pulumi.Input[str]] = None,
                                                      region: Optional[pulumi.Input[str]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetSmPrivateCertificateConfigurationTemplateResult]func LookupSmPrivateCertificateConfigurationTemplate(ctx *Context, args *LookupSmPrivateCertificateConfigurationTemplateArgs, opts ...InvokeOption) (*LookupSmPrivateCertificateConfigurationTemplateResult, error)
func LookupSmPrivateCertificateConfigurationTemplateOutput(ctx *Context, args *LookupSmPrivateCertificateConfigurationTemplateOutputArgs, opts ...InvokeOption) LookupSmPrivateCertificateConfigurationTemplateResultOutput> Note: This function is named LookupSmPrivateCertificateConfigurationTemplate in the Go SDK.
public static class GetSmPrivateCertificateConfigurationTemplate 
{
    public static Task<GetSmPrivateCertificateConfigurationTemplateResult> InvokeAsync(GetSmPrivateCertificateConfigurationTemplateArgs args, InvokeOptions? opts = null)
    public static Output<GetSmPrivateCertificateConfigurationTemplateResult> Invoke(GetSmPrivateCertificateConfigurationTemplateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSmPrivateCertificateConfigurationTemplateResult> getSmPrivateCertificateConfigurationTemplate(GetSmPrivateCertificateConfigurationTemplateArgs args, InvokeOptions options)
public static Output<GetSmPrivateCertificateConfigurationTemplateResult> getSmPrivateCertificateConfigurationTemplate(GetSmPrivateCertificateConfigurationTemplateArgs args, InvokeOptions options)
fn::invoke:
  function: ibm:index/getSmPrivateCertificateConfigurationTemplate:getSmPrivateCertificateConfigurationTemplate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InstanceId string
- The GUID of the Secrets Manager instance.
- Name string
- The name of the configuration.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- EndpointType string
- The endpoint type. If not provided the endpoint type is determined by the visibilityargument provided in the provider configuration.- Constraints: Allowable values are: private,public.
 
- Constraints: Allowable values are: 
- Id string
- The unique identifier of the data source.
- Region string
- The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
- InstanceId string
- The GUID of the Secrets Manager instance.
- Name string
- The name of the configuration.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- EndpointType string
- The endpoint type. If not provided the endpoint type is determined by the visibilityargument provided in the provider configuration.- Constraints: Allowable values are: private,public.
 
- Constraints: Allowable values are: 
- Id string
- The unique identifier of the data source.
- Region string
- The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
- instanceId String
- The GUID of the Secrets Manager instance.
- name String
- The name of the configuration.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- endpointType String
- The endpoint type. If not provided the endpoint type is determined by the visibilityargument provided in the provider configuration.- Constraints: Allowable values are: private,public.
 
- Constraints: Allowable values are: 
- id String
- The unique identifier of the data source.
- region String
- The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
- instanceId string
- The GUID of the Secrets Manager instance.
- name string
- The name of the configuration.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- endpointType string
- The endpoint type. If not provided the endpoint type is determined by the visibilityargument provided in the provider configuration.- Constraints: Allowable values are: private,public.
 
- Constraints: Allowable values are: 
- id string
- The unique identifier of the data source.
- region string
- The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
- instance_id str
- The GUID of the Secrets Manager instance.
- name str
- The name of the configuration.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- endpoint_type str
- The endpoint type. If not provided the endpoint type is determined by the visibilityargument provided in the provider configuration.- Constraints: Allowable values are: private,public.
 
- Constraints: Allowable values are: 
- id str
- The unique identifier of the data source.
- region str
- The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
- instanceId String
- The GUID of the Secrets Manager instance.
- name String
- The name of the configuration.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- endpointType String
- The endpoint type. If not provided the endpoint type is determined by the visibilityargument provided in the provider configuration.- Constraints: Allowable values are: private,public.
 
- Constraints: Allowable values are: 
- id String
- The unique identifier of the data source.
- region String
- The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
getSmPrivateCertificateConfigurationTemplate Result
The following output properties are available:
- AllowAny boolName 
- (Boolean) Determines whether to allow clients to request a private certificate that matches any common name.
- AllowBare boolDomains 
- (Boolean) Determines whether to allow clients to request private certificates that match the value of the actual domains on the final certificate.For example, if you specify example.comin theallowed_domainsfield, you grant clients the ability to request a certificate that contains the nameexample.comas one of the DNS values on the final certificate.Important: In some scenarios, allowing bare domains can be considered a security risk.
- AllowGlob boolDomains 
- (Boolean) Determines whether to allow glob patterns, for example, ftp*.example.com, in the names that are specified in theallowed_domainsfield.If set totrue, clients are allowed to request private certificates with names that match the glob patterns.
- AllowIp boolSans 
- (Boolean) Determines whether to allow clients to request a private certificate with IP Subject Alternative Names.
- AllowLocalhost bool
- (Boolean) Determines whether to allow localhostto be included as one of the requested common names.
- AllowSubdomains bool
- (Boolean) Determines whether to allow clients to request private certificates with common names (CN) that are subdomains of the CNs that are allowed by the other certificate template options. This includes wildcard subdomains.For example, if allowed_domainshas a value ofexample.comandallow_subdomainsis set totrue, then the following subdomains are allowed:foo.example.com,bar.example.com,*.example.com.Note: This field is redundant if you use theallow_any_nameoption.
- AllowedDomains List<string>
- (List) The domains to define for the certificate template. This property is used along with the allow_bare_domainsandallow_subdomainsoptions.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- AllowedDomains boolTemplate 
- (Boolean) Determines whether to allow the domains that are supplied in the allowed_domainsfield to contain access control list (ACL) templates.
- AllowedOther List<string>Sans 
- (List) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names (SANs) to allow for private certificates.The format for each element in the list is the same as OpenSSL: <oid>:<type>:<value>where the current valid type isUTF8. To allow any value for an OID, use*as its value. Alternatively, specify a single*to allow anyother_sansinput.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- AllowedSecret stringGroups 
- (String) Scopes the creation of private certificates to only the secret groups that you specify.This field can be supplied as a comma-delimited list of secret group IDs.- Constraints: The maximum length is 1024characters. The minimum length is2characters. The value must match regular expression/(.*?)/.
 
- Constraints: The maximum length is 
- AllowedUri List<string>Sans 
- (List) The URI Subject Alternative Names to allow for private certificates.Values can contain glob patterns, for example spiffe://hostname/_*.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- BasicConstraints boolValid For Non Ca 
- (Boolean) Determines whether to mark the Basic Constraints extension of an issued private certificate as valid for non-CA certificates.
- string
- (String) The name of the intermediate certificate authority.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- ClientFlag bool
- (Boolean) Determines whether private certificates are flagged for client use.
- CodeSigning boolFlag 
- (Boolean) Determines whether private certificates are flagged for code signing use.
- ConfigType string
- (String) Th 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: 
- Countries List<string>
- (List) The Country (C) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- 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 128characters. The minimum length is4characters.
 
- Constraints: The maximum length is 
- EmailProtection boolFlag 
- (Boolean) Determines whether private certificates are flagged for email protection use.
- EnforceHostnames bool
- (Boolean) Determines whether to enforce only valid host names for common names, DNS Subject Alternative Names, and the host section of email addresses.
- ExtKey List<string>Usage Oids 
- (List) A list of extended key usage Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ExtKey List<string>Usages 
- (List) The allowed extended key usage constraint on private certificates.You can find valid values in the Go x509 package documentation. Omit the ExtKeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- Id string
- The unique identifier of the data source.
- InstanceId string
- KeyBits double
- (Integer) The number of bits to use to generate the private key.Allowable values for RSA keys are: 2048and4096. Allowable values for EC keys are:224,256,384, and521. The default for RSA keys is2048. The default for EC keys is256.
- KeyType string
- (String) The type of private key to generate.- Constraints: Allowable values are: rsa,ec.
 
- Constraints: Allowable values are: 
- KeyUsages List<string>
- (List) The allowed key usage constraint to define for private certificates.You can find valid values in the Go x509 package documentation. Omit the KeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- Localities List<string>
- (List) The Locality (L) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- MaxTtl doubleSeconds 
- (Integer) The maximum time-to-live (TTL) for certificates that are created by this CA in seconds.
- Name string
- NotBefore doubleDuration Seconds 
- (Integer) The duration in seconds by which to backdate the not_beforeproperty of an issued private certificate.
- Organizations List<string>
- (List) The Organization (O) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- Ous List<string>
- (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- PolicyIdentifiers List<string>
- (List) A list of policy Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- PostalCodes List<string>
- (List) The postal code values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- Provinces List<string>
- (List) The Province (ST) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- Region string
- RequireCn bool
- (Boolean) Determines whether to require a common name to create a private certificate.By default, a common name is required to generate a certificate. To make the common_namefield optional, set therequire_cnoption tofalse.
- 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.
 
- Constraints: Allowable values are: 
- SerialNumber string
- (String) The serial number to assign to the generated certificate. To assign a random serial number, you can omit this field.- Constraints: The maximum length is 64characters. The minimum length is32characters. The value must match regular expression/[^a-fA-F0-9]/.
 
- Constraints: The maximum length is 
- ServerFlag bool
- (Boolean) Determines whether private certificates are flagged for server use.
- StreetAddresses List<string>
- (List) The street address values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- TtlSeconds double
- (Integer) The requested Time To Live, after which the certificate will be expired.
- UpdatedAt string
- (String) The date when a resource was recently modified. The date format follows RFC 3339.
- UseCsr boolCommon Name 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the common name (CN) from a certificate signing request (CSR) instead of the CN that's included in the data of the certificate.Does not include any requested Subject Alternative Names (SANs) in the CSR. To use the alternative names, include theuse_csr_sansproperty.
- UseCsr boolSans 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the Subject Alternative Names(SANs) from a certificate signing request (CSR) instead of the SANs that are included in the data of the certificate.Does not include the common name in the CSR. To use the common name, include theuse_csr_common_nameproperty.
- EndpointType string
- AllowAny boolName 
- (Boolean) Determines whether to allow clients to request a private certificate that matches any common name.
- AllowBare boolDomains 
- (Boolean) Determines whether to allow clients to request private certificates that match the value of the actual domains on the final certificate.For example, if you specify example.comin theallowed_domainsfield, you grant clients the ability to request a certificate that contains the nameexample.comas one of the DNS values on the final certificate.Important: In some scenarios, allowing bare domains can be considered a security risk.
- AllowGlob boolDomains 
- (Boolean) Determines whether to allow glob patterns, for example, ftp*.example.com, in the names that are specified in theallowed_domainsfield.If set totrue, clients are allowed to request private certificates with names that match the glob patterns.
- AllowIp boolSans 
- (Boolean) Determines whether to allow clients to request a private certificate with IP Subject Alternative Names.
- AllowLocalhost bool
- (Boolean) Determines whether to allow localhostto be included as one of the requested common names.
- AllowSubdomains bool
- (Boolean) Determines whether to allow clients to request private certificates with common names (CN) that are subdomains of the CNs that are allowed by the other certificate template options. This includes wildcard subdomains.For example, if allowed_domainshas a value ofexample.comandallow_subdomainsis set totrue, then the following subdomains are allowed:foo.example.com,bar.example.com,*.example.com.Note: This field is redundant if you use theallow_any_nameoption.
- AllowedDomains []string
- (List) The domains to define for the certificate template. This property is used along with the allow_bare_domainsandallow_subdomainsoptions.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- AllowedDomains boolTemplate 
- (Boolean) Determines whether to allow the domains that are supplied in the allowed_domainsfield to contain access control list (ACL) templates.
- AllowedOther []stringSans 
- (List) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names (SANs) to allow for private certificates.The format for each element in the list is the same as OpenSSL: <oid>:<type>:<value>where the current valid type isUTF8. To allow any value for an OID, use*as its value. Alternatively, specify a single*to allow anyother_sansinput.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- AllowedSecret stringGroups 
- (String) Scopes the creation of private certificates to only the secret groups that you specify.This field can be supplied as a comma-delimited list of secret group IDs.- Constraints: The maximum length is 1024characters. The minimum length is2characters. The value must match regular expression/(.*?)/.
 
- Constraints: The maximum length is 
- AllowedUri []stringSans 
- (List) The URI Subject Alternative Names to allow for private certificates.Values can contain glob patterns, for example spiffe://hostname/_*.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- BasicConstraints boolValid For Non Ca 
- (Boolean) Determines whether to mark the Basic Constraints extension of an issued private certificate as valid for non-CA certificates.
- string
- (String) The name of the intermediate certificate authority.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- ClientFlag bool
- (Boolean) Determines whether private certificates are flagged for client use.
- CodeSigning boolFlag 
- (Boolean) Determines whether private certificates are flagged for code signing use.
- ConfigType string
- (String) Th 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: 
- Countries []string
- (List) The Country (C) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- 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 128characters. The minimum length is4characters.
 
- Constraints: The maximum length is 
- EmailProtection boolFlag 
- (Boolean) Determines whether private certificates are flagged for email protection use.
- EnforceHostnames bool
- (Boolean) Determines whether to enforce only valid host names for common names, DNS Subject Alternative Names, and the host section of email addresses.
- ExtKey []stringUsage Oids 
- (List) A list of extended key usage Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ExtKey []stringUsages 
- (List) The allowed extended key usage constraint on private certificates.You can find valid values in the Go x509 package documentation. Omit the ExtKeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- Id string
- The unique identifier of the data source.
- InstanceId string
- KeyBits float64
- (Integer) The number of bits to use to generate the private key.Allowable values for RSA keys are: 2048and4096. Allowable values for EC keys are:224,256,384, and521. The default for RSA keys is2048. The default for EC keys is256.
- KeyType string
- (String) The type of private key to generate.- Constraints: Allowable values are: rsa,ec.
 
- Constraints: Allowable values are: 
- KeyUsages []string
- (List) The allowed key usage constraint to define for private certificates.You can find valid values in the Go x509 package documentation. Omit the KeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- Localities []string
- (List) The Locality (L) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- MaxTtl float64Seconds 
- (Integer) The maximum time-to-live (TTL) for certificates that are created by this CA in seconds.
- Name string
- NotBefore float64Duration Seconds 
- (Integer) The duration in seconds by which to backdate the not_beforeproperty of an issued private certificate.
- Organizations []string
- (List) The Organization (O) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- Ous []string
- (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- PolicyIdentifiers []string
- (List) A list of policy Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- PostalCodes []string
- (List) The postal code values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- Provinces []string
- (List) The Province (ST) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- Region string
- RequireCn bool
- (Boolean) Determines whether to require a common name to create a private certificate.By default, a common name is required to generate a certificate. To make the common_namefield optional, set therequire_cnoption tofalse.
- 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.
 
- Constraints: Allowable values are: 
- SerialNumber string
- (String) The serial number to assign to the generated certificate. To assign a random serial number, you can omit this field.- Constraints: The maximum length is 64characters. The minimum length is32characters. The value must match regular expression/[^a-fA-F0-9]/.
 
- Constraints: The maximum length is 
- ServerFlag bool
- (Boolean) Determines whether private certificates are flagged for server use.
- StreetAddresses []string
- (List) The street address values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- TtlSeconds float64
- (Integer) The requested Time To Live, after which the certificate will be expired.
- UpdatedAt string
- (String) The date when a resource was recently modified. The date format follows RFC 3339.
- UseCsr boolCommon Name 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the common name (CN) from a certificate signing request (CSR) instead of the CN that's included in the data of the certificate.Does not include any requested Subject Alternative Names (SANs) in the CSR. To use the alternative names, include theuse_csr_sansproperty.
- UseCsr boolSans 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the Subject Alternative Names(SANs) from a certificate signing request (CSR) instead of the SANs that are included in the data of the certificate.Does not include the common name in the CSR. To use the common name, include theuse_csr_common_nameproperty.
- EndpointType string
- allowAny BooleanName 
- (Boolean) Determines whether to allow clients to request a private certificate that matches any common name.
- allowBare BooleanDomains 
- (Boolean) Determines whether to allow clients to request private certificates that match the value of the actual domains on the final certificate.For example, if you specify example.comin theallowed_domainsfield, you grant clients the ability to request a certificate that contains the nameexample.comas one of the DNS values on the final certificate.Important: In some scenarios, allowing bare domains can be considered a security risk.
- allowGlob BooleanDomains 
- (Boolean) Determines whether to allow glob patterns, for example, ftp*.example.com, in the names that are specified in theallowed_domainsfield.If set totrue, clients are allowed to request private certificates with names that match the glob patterns.
- allowIp BooleanSans 
- (Boolean) Determines whether to allow clients to request a private certificate with IP Subject Alternative Names.
- allowLocalhost Boolean
- (Boolean) Determines whether to allow localhostto be included as one of the requested common names.
- allowSubdomains Boolean
- (Boolean) Determines whether to allow clients to request private certificates with common names (CN) that are subdomains of the CNs that are allowed by the other certificate template options. This includes wildcard subdomains.For example, if allowed_domainshas a value ofexample.comandallow_subdomainsis set totrue, then the following subdomains are allowed:foo.example.com,bar.example.com,*.example.com.Note: This field is redundant if you use theallow_any_nameoption.
- allowedDomains List<String>
- (List) The domains to define for the certificate template. This property is used along with the allow_bare_domainsandallow_subdomainsoptions.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- allowedDomains BooleanTemplate 
- (Boolean) Determines whether to allow the domains that are supplied in the allowed_domainsfield to contain access control list (ACL) templates.
- allowedOther List<String>Sans 
- (List) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names (SANs) to allow for private certificates.The format for each element in the list is the same as OpenSSL: <oid>:<type>:<value>where the current valid type isUTF8. To allow any value for an OID, use*as its value. Alternatively, specify a single*to allow anyother_sansinput.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- allowedSecret StringGroups 
- (String) Scopes the creation of private certificates to only the secret groups that you specify.This field can be supplied as a comma-delimited list of secret group IDs.- Constraints: The maximum length is 1024characters. The minimum length is2characters. The value must match regular expression/(.*?)/.
 
- Constraints: The maximum length is 
- allowedUri List<String>Sans 
- (List) The URI Subject Alternative Names to allow for private certificates.Values can contain glob patterns, for example spiffe://hostname/_*.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- basicConstraints BooleanValid For Non Ca 
- (Boolean) Determines whether to mark the Basic Constraints extension of an issued private certificate as valid for non-CA certificates.
- String
- (String) The name of the intermediate certificate authority.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- clientFlag Boolean
- (Boolean) Determines whether private certificates are flagged for client use.
- codeSigning BooleanFlag 
- (Boolean) Determines whether private certificates are flagged for code signing use.
- configType String
- (String) Th 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: 
- countries List<String>
- (List) The Country (C) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- 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 128characters. The minimum length is4characters.
 
- Constraints: The maximum length is 
- emailProtection BooleanFlag 
- (Boolean) Determines whether private certificates are flagged for email protection use.
- enforceHostnames Boolean
- (Boolean) Determines whether to enforce only valid host names for common names, DNS Subject Alternative Names, and the host section of email addresses.
- extKey List<String>Usage Oids 
- (List) A list of extended key usage Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- extKey List<String>Usages 
- (List) The allowed extended key usage constraint on private certificates.You can find valid values in the Go x509 package documentation. Omit the ExtKeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- id String
- The unique identifier of the data source.
- instanceId String
- keyBits Double
- (Integer) The number of bits to use to generate the private key.Allowable values for RSA keys are: 2048and4096. Allowable values for EC keys are:224,256,384, and521. The default for RSA keys is2048. The default for EC keys is256.
- keyType String
- (String) The type of private key to generate.- Constraints: Allowable values are: rsa,ec.
 
- Constraints: Allowable values are: 
- keyUsages List<String>
- (List) The allowed key usage constraint to define for private certificates.You can find valid values in the Go x509 package documentation. Omit the KeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- localities List<String>
- (List) The Locality (L) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- maxTtl DoubleSeconds 
- (Integer) The maximum time-to-live (TTL) for certificates that are created by this CA in seconds.
- name String
- notBefore DoubleDuration Seconds 
- (Integer) The duration in seconds by which to backdate the not_beforeproperty of an issued private certificate.
- organizations List<String>
- (List) The Organization (O) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ous List<String>
- (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- policyIdentifiers List<String>
- (List) A list of policy Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- postalCodes List<String>
- (List) The postal code values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- provinces List<String>
- (List) The Province (ST) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- region String
- requireCn Boolean
- (Boolean) Determines whether to require a common name to create a private certificate.By default, a common name is required to generate a certificate. To make the common_namefield optional, set therequire_cnoption tofalse.
- 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.
 
- Constraints: Allowable values are: 
- serialNumber String
- (String) The serial number to assign to the generated certificate. To assign a random serial number, you can omit this field.- Constraints: The maximum length is 64characters. The minimum length is32characters. The value must match regular expression/[^a-fA-F0-9]/.
 
- Constraints: The maximum length is 
- serverFlag Boolean
- (Boolean) Determines whether private certificates are flagged for server use.
- streetAddresses List<String>
- (List) The street address values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ttlSeconds Double
- (Integer) The requested Time To Live, after which the certificate will be expired.
- updatedAt String
- (String) The date when a resource was recently modified. The date format follows RFC 3339.
- useCsr BooleanCommon Name 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the common name (CN) from a certificate signing request (CSR) instead of the CN that's included in the data of the certificate.Does not include any requested Subject Alternative Names (SANs) in the CSR. To use the alternative names, include theuse_csr_sansproperty.
- useCsr BooleanSans 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the Subject Alternative Names(SANs) from a certificate signing request (CSR) instead of the SANs that are included in the data of the certificate.Does not include the common name in the CSR. To use the common name, include theuse_csr_common_nameproperty.
- endpointType String
- allowAny booleanName 
- (Boolean) Determines whether to allow clients to request a private certificate that matches any common name.
- allowBare booleanDomains 
- (Boolean) Determines whether to allow clients to request private certificates that match the value of the actual domains on the final certificate.For example, if you specify example.comin theallowed_domainsfield, you grant clients the ability to request a certificate that contains the nameexample.comas one of the DNS values on the final certificate.Important: In some scenarios, allowing bare domains can be considered a security risk.
- allowGlob booleanDomains 
- (Boolean) Determines whether to allow glob patterns, for example, ftp*.example.com, in the names that are specified in theallowed_domainsfield.If set totrue, clients are allowed to request private certificates with names that match the glob patterns.
- allowIp booleanSans 
- (Boolean) Determines whether to allow clients to request a private certificate with IP Subject Alternative Names.
- allowLocalhost boolean
- (Boolean) Determines whether to allow localhostto be included as one of the requested common names.
- allowSubdomains boolean
- (Boolean) Determines whether to allow clients to request private certificates with common names (CN) that are subdomains of the CNs that are allowed by the other certificate template options. This includes wildcard subdomains.For example, if allowed_domainshas a value ofexample.comandallow_subdomainsis set totrue, then the following subdomains are allowed:foo.example.com,bar.example.com,*.example.com.Note: This field is redundant if you use theallow_any_nameoption.
- allowedDomains string[]
- (List) The domains to define for the certificate template. This property is used along with the allow_bare_domainsandallow_subdomainsoptions.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- allowedDomains booleanTemplate 
- (Boolean) Determines whether to allow the domains that are supplied in the allowed_domainsfield to contain access control list (ACL) templates.
- allowedOther string[]Sans 
- (List) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names (SANs) to allow for private certificates.The format for each element in the list is the same as OpenSSL: <oid>:<type>:<value>where the current valid type isUTF8. To allow any value for an OID, use*as its value. Alternatively, specify a single*to allow anyother_sansinput.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- allowedSecret stringGroups 
- (String) Scopes the creation of private certificates to only the secret groups that you specify.This field can be supplied as a comma-delimited list of secret group IDs.- Constraints: The maximum length is 1024characters. The minimum length is2characters. The value must match regular expression/(.*?)/.
 
- Constraints: The maximum length is 
- allowedUri string[]Sans 
- (List) The URI Subject Alternative Names to allow for private certificates.Values can contain glob patterns, for example spiffe://hostname/_*.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- basicConstraints booleanValid For Non Ca 
- (Boolean) Determines whether to mark the Basic Constraints extension of an issued private certificate as valid for non-CA certificates.
- string
- (String) The name of the intermediate certificate authority.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- clientFlag boolean
- (Boolean) Determines whether private certificates are flagged for client use.
- codeSigning booleanFlag 
- (Boolean) Determines whether private certificates are flagged for code signing use.
- configType string
- (String) Th 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: 
- countries string[]
- (List) The Country (C) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- 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 128characters. The minimum length is4characters.
 
- Constraints: The maximum length is 
- emailProtection booleanFlag 
- (Boolean) Determines whether private certificates are flagged for email protection use.
- enforceHostnames boolean
- (Boolean) Determines whether to enforce only valid host names for common names, DNS Subject Alternative Names, and the host section of email addresses.
- extKey string[]Usage Oids 
- (List) A list of extended key usage Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- extKey string[]Usages 
- (List) The allowed extended key usage constraint on private certificates.You can find valid values in the Go x509 package documentation. Omit the ExtKeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- id string
- The unique identifier of the data source.
- instanceId string
- keyBits number
- (Integer) The number of bits to use to generate the private key.Allowable values for RSA keys are: 2048and4096. Allowable values for EC keys are:224,256,384, and521. The default for RSA keys is2048. The default for EC keys is256.
- keyType string
- (String) The type of private key to generate.- Constraints: Allowable values are: rsa,ec.
 
- Constraints: Allowable values are: 
- keyUsages string[]
- (List) The allowed key usage constraint to define for private certificates.You can find valid values in the Go x509 package documentation. Omit the KeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- localities string[]
- (List) The Locality (L) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- maxTtl numberSeconds 
- (Integer) The maximum time-to-live (TTL) for certificates that are created by this CA in seconds.
- name string
- notBefore numberDuration Seconds 
- (Integer) The duration in seconds by which to backdate the not_beforeproperty of an issued private certificate.
- organizations string[]
- (List) The Organization (O) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ous string[]
- (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- policyIdentifiers string[]
- (List) A list of policy Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- postalCodes string[]
- (List) The postal code values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- provinces string[]
- (List) The Province (ST) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- region string
- requireCn boolean
- (Boolean) Determines whether to require a common name to create a private certificate.By default, a common name is required to generate a certificate. To make the common_namefield optional, set therequire_cnoption tofalse.
- 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.
 
- Constraints: Allowable values are: 
- serialNumber string
- (String) The serial number to assign to the generated certificate. To assign a random serial number, you can omit this field.- Constraints: The maximum length is 64characters. The minimum length is32characters. The value must match regular expression/[^a-fA-F0-9]/.
 
- Constraints: The maximum length is 
- serverFlag boolean
- (Boolean) Determines whether private certificates are flagged for server use.
- streetAddresses string[]
- (List) The street address values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ttlSeconds number
- (Integer) The requested Time To Live, after which the certificate will be expired.
- updatedAt string
- (String) The date when a resource was recently modified. The date format follows RFC 3339.
- useCsr booleanCommon Name 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the common name (CN) from a certificate signing request (CSR) instead of the CN that's included in the data of the certificate.Does not include any requested Subject Alternative Names (SANs) in the CSR. To use the alternative names, include theuse_csr_sansproperty.
- useCsr booleanSans 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the Subject Alternative Names(SANs) from a certificate signing request (CSR) instead of the SANs that are included in the data of the certificate.Does not include the common name in the CSR. To use the common name, include theuse_csr_common_nameproperty.
- endpointType string
- allow_any_ boolname 
- (Boolean) Determines whether to allow clients to request a private certificate that matches any common name.
- allow_bare_ booldomains 
- (Boolean) Determines whether to allow clients to request private certificates that match the value of the actual domains on the final certificate.For example, if you specify example.comin theallowed_domainsfield, you grant clients the ability to request a certificate that contains the nameexample.comas one of the DNS values on the final certificate.Important: In some scenarios, allowing bare domains can be considered a security risk.
- allow_glob_ booldomains 
- (Boolean) Determines whether to allow glob patterns, for example, ftp*.example.com, in the names that are specified in theallowed_domainsfield.If set totrue, clients are allowed to request private certificates with names that match the glob patterns.
- allow_ip_ boolsans 
- (Boolean) Determines whether to allow clients to request a private certificate with IP Subject Alternative Names.
- allow_localhost bool
- (Boolean) Determines whether to allow localhostto be included as one of the requested common names.
- allow_subdomains bool
- (Boolean) Determines whether to allow clients to request private certificates with common names (CN) that are subdomains of the CNs that are allowed by the other certificate template options. This includes wildcard subdomains.For example, if allowed_domainshas a value ofexample.comandallow_subdomainsis set totrue, then the following subdomains are allowed:foo.example.com,bar.example.com,*.example.com.Note: This field is redundant if you use theallow_any_nameoption.
- allowed_domains Sequence[str]
- (List) The domains to define for the certificate template. This property is used along with the allow_bare_domainsandallow_subdomainsoptions.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- allowed_domains_ booltemplate 
- (Boolean) Determines whether to allow the domains that are supplied in the allowed_domainsfield to contain access control list (ACL) templates.
- allowed_other_ Sequence[str]sans 
- (List) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names (SANs) to allow for private certificates.The format for each element in the list is the same as OpenSSL: <oid>:<type>:<value>where the current valid type isUTF8. To allow any value for an OID, use*as its value. Alternatively, specify a single*to allow anyother_sansinput.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- allowed_secret_ strgroups 
- (String) Scopes the creation of private certificates to only the secret groups that you specify.This field can be supplied as a comma-delimited list of secret group IDs.- Constraints: The maximum length is 1024characters. The minimum length is2characters. The value must match regular expression/(.*?)/.
 
- Constraints: The maximum length is 
- allowed_uri_ Sequence[str]sans 
- (List) The URI Subject Alternative Names to allow for private certificates.Values can contain glob patterns, for example spiffe://hostname/_*.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- basic_constraints_ boolvalid_ for_ non_ ca 
- (Boolean) Determines whether to mark the Basic Constraints extension of an issued private certificate as valid for non-CA certificates.
- str
- (String) The name of the intermediate certificate authority.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- client_flag bool
- (Boolean) Determines whether private certificates are flagged for client use.
- code_signing_ boolflag 
- (Boolean) Determines whether private certificates are flagged for code signing use.
- config_type str
- (String) Th 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: 
- countries Sequence[str]
- (List) The Country (C) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- 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 128characters. The minimum length is4characters.
 
- Constraints: The maximum length is 
- email_protection_ boolflag 
- (Boolean) Determines whether private certificates are flagged for email protection use.
- enforce_hostnames bool
- (Boolean) Determines whether to enforce only valid host names for common names, DNS Subject Alternative Names, and the host section of email addresses.
- ext_key_ Sequence[str]usage_ oids 
- (List) A list of extended key usage Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ext_key_ Sequence[str]usages 
- (List) The allowed extended key usage constraint on private certificates.You can find valid values in the Go x509 package documentation. Omit the ExtKeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- id str
- The unique identifier of the data source.
- instance_id str
- key_bits float
- (Integer) The number of bits to use to generate the private key.Allowable values for RSA keys are: 2048and4096. Allowable values for EC keys are:224,256,384, and521. The default for RSA keys is2048. The default for EC keys is256.
- key_type str
- (String) The type of private key to generate.- Constraints: Allowable values are: rsa,ec.
 
- Constraints: Allowable values are: 
- key_usages Sequence[str]
- (List) The allowed key usage constraint to define for private certificates.You can find valid values in the Go x509 package documentation. Omit the KeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- localities Sequence[str]
- (List) The Locality (L) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- max_ttl_ floatseconds 
- (Integer) The maximum time-to-live (TTL) for certificates that are created by this CA in seconds.
- name str
- not_before_ floatduration_ seconds 
- (Integer) The duration in seconds by which to backdate the not_beforeproperty of an issued private certificate.
- organizations Sequence[str]
- (List) The Organization (O) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ous Sequence[str]
- (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- policy_identifiers Sequence[str]
- (List) A list of policy Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- postal_codes Sequence[str]
- (List) The postal code values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- provinces Sequence[str]
- (List) The Province (ST) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- region str
- require_cn bool
- (Boolean) Determines whether to require a common name to create a private certificate.By default, a common name is required to generate a certificate. To make the common_namefield optional, set therequire_cnoption tofalse.
- 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: 
- serial_number str
- (String) The serial number to assign to the generated certificate. To assign a random serial number, you can omit this field.- Constraints: The maximum length is 64characters. The minimum length is32characters. The value must match regular expression/[^a-fA-F0-9]/.
 
- Constraints: The maximum length is 
- server_flag bool
- (Boolean) Determines whether private certificates are flagged for server use.
- street_addresses Sequence[str]
- (List) The street address values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ttl_seconds float
- (Integer) The requested Time To Live, after which the certificate will be expired.
- updated_at str
- (String) The date when a resource was recently modified. The date format follows RFC 3339.
- use_csr_ boolcommon_ name 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the common name (CN) from a certificate signing request (CSR) instead of the CN that's included in the data of the certificate.Does not include any requested Subject Alternative Names (SANs) in the CSR. To use the alternative names, include theuse_csr_sansproperty.
- use_csr_ boolsans 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the Subject Alternative Names(SANs) from a certificate signing request (CSR) instead of the SANs that are included in the data of the certificate.Does not include the common name in the CSR. To use the common name, include theuse_csr_common_nameproperty.
- endpoint_type str
- allowAny BooleanName 
- (Boolean) Determines whether to allow clients to request a private certificate that matches any common name.
- allowBare BooleanDomains 
- (Boolean) Determines whether to allow clients to request private certificates that match the value of the actual domains on the final certificate.For example, if you specify example.comin theallowed_domainsfield, you grant clients the ability to request a certificate that contains the nameexample.comas one of the DNS values on the final certificate.Important: In some scenarios, allowing bare domains can be considered a security risk.
- allowGlob BooleanDomains 
- (Boolean) Determines whether to allow glob patterns, for example, ftp*.example.com, in the names that are specified in theallowed_domainsfield.If set totrue, clients are allowed to request private certificates with names that match the glob patterns.
- allowIp BooleanSans 
- (Boolean) Determines whether to allow clients to request a private certificate with IP Subject Alternative Names.
- allowLocalhost Boolean
- (Boolean) Determines whether to allow localhostto be included as one of the requested common names.
- allowSubdomains Boolean
- (Boolean) Determines whether to allow clients to request private certificates with common names (CN) that are subdomains of the CNs that are allowed by the other certificate template options. This includes wildcard subdomains.For example, if allowed_domainshas a value ofexample.comandallow_subdomainsis set totrue, then the following subdomains are allowed:foo.example.com,bar.example.com,*.example.com.Note: This field is redundant if you use theallow_any_nameoption.
- allowedDomains List<String>
- (List) The domains to define for the certificate template. This property is used along with the allow_bare_domainsandallow_subdomainsoptions.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- allowedDomains BooleanTemplate 
- (Boolean) Determines whether to allow the domains that are supplied in the allowed_domainsfield to contain access control list (ACL) templates.
- allowedOther List<String>Sans 
- (List) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names (SANs) to allow for private certificates.The format for each element in the list is the same as OpenSSL: <oid>:<type>:<value>where the current valid type isUTF8. To allow any value for an OID, use*as its value. Alternatively, specify a single*to allow anyother_sansinput.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- allowedSecret StringGroups 
- (String) Scopes the creation of private certificates to only the secret groups that you specify.This field can be supplied as a comma-delimited list of secret group IDs.- Constraints: The maximum length is 1024characters. The minimum length is2characters. The value must match regular expression/(.*?)/.
 
- Constraints: The maximum length is 
- allowedUri List<String>Sans 
- (List) The URI Subject Alternative Names to allow for private certificates.Values can contain glob patterns, for example spiffe://hostname/_*.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- basicConstraints BooleanValid For Non Ca 
- (Boolean) Determines whether to mark the Basic Constraints extension of an issued private certificate as valid for non-CA certificates.
- String
- (String) The name of the intermediate certificate authority.- Constraints: The maximum length is 128characters. The minimum length is2characters. The value must match regular expression/^[A-Za-z0-9][A-Za-z0-9]*(?:_?-?\\.?[A-Za-z0-9]+)*$/.
 
- Constraints: The maximum length is 
- clientFlag Boolean
- (Boolean) Determines whether private certificates are flagged for client use.
- codeSigning BooleanFlag 
- (Boolean) Determines whether private certificates are flagged for code signing use.
- configType String
- (String) Th 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: 
- countries List<String>
- (List) The Country (C) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- 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 128characters. The minimum length is4characters.
 
- Constraints: The maximum length is 
- emailProtection BooleanFlag 
- (Boolean) Determines whether private certificates are flagged for email protection use.
- enforceHostnames Boolean
- (Boolean) Determines whether to enforce only valid host names for common names, DNS Subject Alternative Names, and the host section of email addresses.
- extKey List<String>Usage Oids 
- (List) A list of extended key usage Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- extKey List<String>Usages 
- (List) The allowed extended key usage constraint on private certificates.You can find valid values in the Go x509 package documentation. Omit the ExtKeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- id String
- The unique identifier of the data source.
- instanceId String
- keyBits Number
- (Integer) The number of bits to use to generate the private key.Allowable values for RSA keys are: 2048and4096. Allowable values for EC keys are:224,256,384, and521. The default for RSA keys is2048. The default for EC keys is256.
- keyType String
- (String) The type of private key to generate.- Constraints: Allowable values are: rsa,ec.
 
- Constraints: Allowable values are: 
- keyUsages List<String>
- (List) The allowed key usage constraint to define for private certificates.You can find valid values in the Go x509 package documentation. Omit the KeyUsagepart of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list.- Constraints: The list items must match regular expression /^[a-zA-Z]+$/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- localities List<String>
- (List) The Locality (L) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- maxTtl NumberSeconds 
- (Integer) The maximum time-to-live (TTL) for certificates that are created by this CA in seconds.
- name String
- notBefore NumberDuration Seconds 
- (Integer) The duration in seconds by which to backdate the not_beforeproperty of an issued private certificate.
- organizations List<String>
- (List) The Organization (O) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ous List<String>
- (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- policyIdentifiers List<String>
- (List) A list of policy Object Identifiers (OIDs).- Constraints: The list items must match regular expression /(.*?)/. The maximum length is100items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- postalCodes List<String>
- (List) The postal code values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- provinces List<String>
- (List) The Province (ST) values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- region String
- requireCn Boolean
- (Boolean) Determines whether to require a common name to create a private certificate.By default, a common name is required to generate a certificate. To make the common_namefield optional, set therequire_cnoption tofalse.
- 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.
 
- Constraints: Allowable values are: 
- serialNumber String
- (String) The serial number to assign to the generated certificate. To assign a random serial number, you can omit this field.- Constraints: The maximum length is 64characters. The minimum length is32characters. The value must match regular expression/[^a-fA-F0-9]/.
 
- Constraints: The maximum length is 
- serverFlag Boolean
- (Boolean) Determines whether private certificates are flagged for server use.
- streetAddresses List<String>
- (List) The street address values to define in the subject field of the resulting certificate.- Constraints: The list items must match regular expression /(.*?)/. The maximum length is10items. The minimum length is0items.
 
- Constraints: The list items must match regular expression 
- ttlSeconds Number
- (Integer) The requested Time To Live, after which the certificate will be expired.
- updatedAt String
- (String) The date when a resource was recently modified. The date format follows RFC 3339.
- useCsr BooleanCommon Name 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the common name (CN) from a certificate signing request (CSR) instead of the CN that's included in the data of the certificate.Does not include any requested Subject Alternative Names (SANs) in the CSR. To use the alternative names, include theuse_csr_sansproperty.
- useCsr BooleanSans 
- (Boolean) When used with the private_cert_configuration_action_sign_csraction, this field determines whether to use the Subject Alternative Names(SANs) from a certificate signing request (CSR) instead of the SANs that are included in the data of the certificate.Does not include the common name in the CSR. To use the common name, include theuse_csr_common_nameproperty.
- endpointType String
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the ibmTerraform Provider.