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

ibm.getSmImportedCertificate

Explore with Pulumi AI

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

    Provides a read-only data source for an imported certificate. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax. The data source can be defined by providing the secret ID or the secret and secret group names.

    Example Usage

    By secret id

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const importedCertificate = ibm.getSmImportedCertificate({
        instanceId: ibm_resource_instance.sm_instance.guid,
        region: "us-south",
        secretId: "0b5571f7-21e6-42b7-91c5-3f5ac9793a46",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    imported_certificate = ibm.get_sm_imported_certificate(instance_id=ibm_resource_instance["sm_instance"]["guid"],
        region="us-south",
        secret_id="0b5571f7-21e6-42b7-91c5-3f5ac9793a46")
    
    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.LookupSmImportedCertificate(ctx, &ibm.LookupSmImportedCertificateArgs{
    			InstanceId: ibm_resource_instance.Sm_instance.Guid,
    			Region:     pulumi.StringRef("us-south"),
    			SecretId:   pulumi.StringRef("0b5571f7-21e6-42b7-91c5-3f5ac9793a46"),
    		}, 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 importedCertificate = Ibm.GetSmImportedCertificate.Invoke(new()
        {
            InstanceId = ibm_resource_instance.Sm_instance.Guid,
            Region = "us-south",
            SecretId = "0b5571f7-21e6-42b7-91c5-3f5ac9793a46",
        });
    
    });
    
    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.GetSmImportedCertificateArgs;
    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 importedCertificate = IbmFunctions.getSmImportedCertificate(GetSmImportedCertificateArgs.builder()
                .instanceId(ibm_resource_instance.sm_instance().guid())
                .region("us-south")
                .secretId("0b5571f7-21e6-42b7-91c5-3f5ac9793a46")
                .build());
    
        }
    }
    
    variables:
      importedCertificate:
        fn::invoke:
          function: ibm:getSmImportedCertificate
          arguments:
            instanceId: ${ibm_resource_instance.sm_instance.guid}
            region: us-south
            secretId: 0b5571f7-21e6-42b7-91c5-3f5ac9793a46
    

    By secret name and group name

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const importedCertificate = ibm.getSmImportedCertificate({
        instanceId: ibm_resource_instance.sm_instance.guid,
        region: "us-south",
        name: "secret-name",
        secretGroupName: "group-name",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    imported_certificate = ibm.get_sm_imported_certificate(instance_id=ibm_resource_instance["sm_instance"]["guid"],
        region="us-south",
        name="secret-name",
        secret_group_name="group-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.LookupSmImportedCertificate(ctx, &ibm.LookupSmImportedCertificateArgs{
    			InstanceId:      ibm_resource_instance.Sm_instance.Guid,
    			Region:          pulumi.StringRef("us-south"),
    			Name:            pulumi.StringRef("secret-name"),
    			SecretGroupName: pulumi.StringRef("group-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 importedCertificate = Ibm.GetSmImportedCertificate.Invoke(new()
        {
            InstanceId = ibm_resource_instance.Sm_instance.Guid,
            Region = "us-south",
            Name = "secret-name",
            SecretGroupName = "group-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.GetSmImportedCertificateArgs;
    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 importedCertificate = IbmFunctions.getSmImportedCertificate(GetSmImportedCertificateArgs.builder()
                .instanceId(ibm_resource_instance.sm_instance().guid())
                .region("us-south")
                .name("secret-name")
                .secretGroupName("group-name")
                .build());
    
        }
    }
    
    variables:
      importedCertificate:
        fn::invoke:
          function: ibm:getSmImportedCertificate
          arguments:
            instanceId: ${ibm_resource_instance.sm_instance.guid}
            region: us-south
            name: secret-name
            secretGroupName: group-name
    

    Using getSmImportedCertificate

    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 getSmImportedCertificate(args: GetSmImportedCertificateArgs, opts?: InvokeOptions): Promise<GetSmImportedCertificateResult>
    function getSmImportedCertificateOutput(args: GetSmImportedCertificateOutputArgs, opts?: InvokeOptions): Output<GetSmImportedCertificateResult>
    def get_sm_imported_certificate(endpoint_type: Optional[str] = None,
                                    id: Optional[str] = None,
                                    instance_id: Optional[str] = None,
                                    name: Optional[str] = None,
                                    region: Optional[str] = None,
                                    secret_group_name: Optional[str] = None,
                                    secret_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetSmImportedCertificateResult
    def get_sm_imported_certificate_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,
                                    secret_group_name: Optional[pulumi.Input[str]] = None,
                                    secret_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetSmImportedCertificateResult]
    func LookupSmImportedCertificate(ctx *Context, args *LookupSmImportedCertificateArgs, opts ...InvokeOption) (*LookupSmImportedCertificateResult, error)
    func LookupSmImportedCertificateOutput(ctx *Context, args *LookupSmImportedCertificateOutputArgs, opts ...InvokeOption) LookupSmImportedCertificateResultOutput

    > Note: This function is named LookupSmImportedCertificate in the Go SDK.

    public static class GetSmImportedCertificate 
    {
        public static Task<GetSmImportedCertificateResult> InvokeAsync(GetSmImportedCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetSmImportedCertificateResult> Invoke(GetSmImportedCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSmImportedCertificateResult> getSmImportedCertificate(GetSmImportedCertificateArgs args, InvokeOptions options)
    public static Output<GetSmImportedCertificateResult> getSmImportedCertificate(GetSmImportedCertificateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getSmImportedCertificate:getSmImportedCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    The GUID of the Secrets Manager instance.
    EndpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    Id string
    The unique identifier of the data source.
    Name string
    The human-readable name of your secret. To be used in combination with secret_group_name.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters. The value must match regular expression ^[A-Za-z0-9][A-Za-z0-9]*(?:_*-*\\.*[A-Za-z0-9]+)*$.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SecretGroupName string
    The name of your existing secret group. To be used in combination with name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    SecretId string
    The ID of the secret.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.
    InstanceId string
    The GUID of the Secrets Manager instance.
    EndpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    Id string
    The unique identifier of the data source.
    Name string
    The human-readable name of your secret. To be used in combination with secret_group_name.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters. The value must match regular expression ^[A-Za-z0-9][A-Za-z0-9]*(?:_*-*\\.*[A-Za-z0-9]+)*$.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SecretGroupName string
    The name of your existing secret group. To be used in combination with name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    SecretId string
    The ID of the secret.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.
    instanceId String
    The GUID of the Secrets Manager instance.
    endpointType String
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    id String
    The unique identifier of the data source.
    name String
    The human-readable name of your secret. To be used in combination with secret_group_name.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters. The value must match regular expression ^[A-Za-z0-9][A-Za-z0-9]*(?:_*-*\\.*[A-Za-z0-9]+)*$.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secretGroupName String
    The name of your existing secret group. To be used in combination with name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    secretId String
    The ID of the secret.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.
    instanceId string
    The GUID of the Secrets Manager instance.
    endpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    id string
    The unique identifier of the data source.
    name string
    The human-readable name of your secret. To be used in combination with secret_group_name.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters. The value must match regular expression ^[A-Za-z0-9][A-Za-z0-9]*(?:_*-*\\.*[A-Za-z0-9]+)*$.
    region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secretGroupName string
    The name of your existing secret group. To be used in combination with name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    secretId string
    The ID of the secret.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.
    instance_id str
    The GUID of the Secrets Manager instance.
    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.
    id str
    The unique identifier of the data source.
    name str
    The human-readable name of your secret. To be used in combination with secret_group_name.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters. The value must match regular expression ^[A-Za-z0-9][A-Za-z0-9]*(?:_*-*\\.*[A-Za-z0-9]+)*$.
    region str
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secret_group_name str
    The name of your existing secret group. To be used in combination with name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    secret_id str
    The ID of the secret.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.
    instanceId String
    The GUID of the Secrets Manager instance.
    endpointType String
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    id String
    The unique identifier of the data source.
    name String
    The human-readable name of your secret. To be used in combination with secret_group_name.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters. The value must match regular expression ^[A-Za-z0-9][A-Za-z0-9]*(?:_*-*\\.*[A-Za-z0-9]+)*$.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secretGroupName String
    The name of your existing secret group. To be used in combination with name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    secretId String
    The ID of the secret.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.

    getSmImportedCertificate Result

    The following output properties are available:

    Certificate string
    (String) The PEM-encoded contents of your certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    CommonName string
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    CreatedAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    CreatedBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    Crn string
    (String) A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    Csr string
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    CustomMetadata Dictionary<string, string>
    (Map) The secret metadata that a user can customize.
    Description string
    (String) An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group.

    • Constraints: The maximum length is 1024 characters. The minimum length is 0 characters. The value must match regular expression /(.*?)/.
    Downloaded bool
    (Boolean) Indicates whether the secret data that is associated with a secret version was retrieved in a call to the service API.
    ExpirationDate string
    (String) The date a secret is expired. The date format follows RFC 3339.
    Id string
    The unique identifier of the data source.
    InstanceId string
    Intermediate string
    (String) (Optional) The PEM-encoded intermediate certificate to associate with the root certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    IntermediateIncluded bool
    (Boolean) Indicates whether the certificate was imported with an associated intermediate certificate.
    Issuer string
    (String) The distinguished name that identifies the entity that signed and issued the certificate.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    KeyAlgorithm string
    (String) The identifier for the cryptographic algorithm used to generate the public key that is associated with the certificate.

    • Constraints: The maximum length is 10 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    Labels List<string>
    (List) Labels that you can use to search for secrets in your instance.Up to 30 labels can be created.

    • Constraints: The list items must match regular expression /(.*?)/. The maximum length is 30 items. The minimum length is 0 items.
    LocksTotal double
    (Integer) The number of locks of the secret.

    • Constraints: The maximum value is 1000. The minimum value is 0.
    ManagedCsrs List<GetSmImportedCertificateManagedCsr>
    (List) The data specified to create the CSR and the private key. Nested scheme for managed_csr:
    Name string
    (String) The human-readable name of your secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters.
    PrivateKey string
    (String) (Optional) The PEM-encoded private key to associate with the certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    PrivateKeyIncluded bool
    (Boolean) Indicates whether the certificate was imported with an associated private key.
    Region string
    SecretGroupId string
    (String) A UUID identifier, or default secret group.

    • Constraints: The maximum length is 36 characters. The minimum length is 7 characters. The value must match regular expression /^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|default)$/.
    SecretId string
    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.
    SerialNumber string
    (String) The unique serial number that was assigned to a certificate by the issuing certificate authority.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[^a-fA-F0-9]/.
    SigningAlgorithm string
    (String) The identifier for the cryptographic algorithm that was used by the issuing certificate authority to sign a certificate.

    • Constraints: The maximum length is 64 characters. The minimum length is 4 characters.
    State double
    (Integer) The secret state that is based on NIST SP 800-57. States are integers and correspond to the Pre-activation = 0, Active = 1, Suspended = 2, Deactivated = 3, and Destroyed = 5 values.

    • Constraints: Allowable values are: 0, 1, 2, 3, 5.
    StateDescription string
    (String) A text representation of the secret state.

    • Constraints: Allowable values are: pre_activation, active, suspended, deactivated, destroyed.
    UpdatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    Validities List<GetSmImportedCertificateValidity>
    (List) The date and time that the certificate validity period begins and ends. Nested scheme for validity:
    VersionsTotal double
    (Integer) The number of versions of the secret.

    • Constraints: The maximum value is 50. The minimum value is 0.
    EndpointType string
    SecretGroupName string
    Certificate string
    (String) The PEM-encoded contents of your certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    CommonName string
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    CreatedAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    CreatedBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    Crn string
    (String) A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    Csr string
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    CustomMetadata map[string]string
    (Map) The secret metadata that a user can customize.
    Description string
    (String) An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group.

    • Constraints: The maximum length is 1024 characters. The minimum length is 0 characters. The value must match regular expression /(.*?)/.
    Downloaded bool
    (Boolean) Indicates whether the secret data that is associated with a secret version was retrieved in a call to the service API.
    ExpirationDate string
    (String) The date a secret is expired. The date format follows RFC 3339.
    Id string
    The unique identifier of the data source.
    InstanceId string
    Intermediate string
    (String) (Optional) The PEM-encoded intermediate certificate to associate with the root certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    IntermediateIncluded bool
    (Boolean) Indicates whether the certificate was imported with an associated intermediate certificate.
    Issuer string
    (String) The distinguished name that identifies the entity that signed and issued the certificate.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    KeyAlgorithm string
    (String) The identifier for the cryptographic algorithm used to generate the public key that is associated with the certificate.

    • Constraints: The maximum length is 10 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    Labels []string
    (List) Labels that you can use to search for secrets in your instance.Up to 30 labels can be created.

    • Constraints: The list items must match regular expression /(.*?)/. The maximum length is 30 items. The minimum length is 0 items.
    LocksTotal float64
    (Integer) The number of locks of the secret.

    • Constraints: The maximum value is 1000. The minimum value is 0.
    ManagedCsrs []GetSmImportedCertificateManagedCsr
    (List) The data specified to create the CSR and the private key. Nested scheme for managed_csr:
    Name string
    (String) The human-readable name of your secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters.
    PrivateKey string
    (String) (Optional) The PEM-encoded private key to associate with the certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    PrivateKeyIncluded bool
    (Boolean) Indicates whether the certificate was imported with an associated private key.
    Region string
    SecretGroupId string
    (String) A UUID identifier, or default secret group.

    • Constraints: The maximum length is 36 characters. The minimum length is 7 characters. The value must match regular expression /^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|default)$/.
    SecretId string
    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.
    SerialNumber string
    (String) The unique serial number that was assigned to a certificate by the issuing certificate authority.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[^a-fA-F0-9]/.
    SigningAlgorithm string
    (String) The identifier for the cryptographic algorithm that was used by the issuing certificate authority to sign a certificate.

    • Constraints: The maximum length is 64 characters. The minimum length is 4 characters.
    State float64
    (Integer) The secret state that is based on NIST SP 800-57. States are integers and correspond to the Pre-activation = 0, Active = 1, Suspended = 2, Deactivated = 3, and Destroyed = 5 values.

    • Constraints: Allowable values are: 0, 1, 2, 3, 5.
    StateDescription string
    (String) A text representation of the secret state.

    • Constraints: Allowable values are: pre_activation, active, suspended, deactivated, destroyed.
    UpdatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    Validities []GetSmImportedCertificateValidity
    (List) The date and time that the certificate validity period begins and ends. Nested scheme for validity:
    VersionsTotal float64
    (Integer) The number of versions of the secret.

    • Constraints: The maximum value is 50. The minimum value is 0.
    EndpointType string
    SecretGroupName string
    certificate String
    (String) The PEM-encoded contents of your certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    commonName String
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    createdAt String
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy String
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    crn String
    (String) A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    csr String
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    customMetadata Map<String,String>
    (Map) The secret metadata that a user can customize.
    description String
    (String) An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group.

    • Constraints: The maximum length is 1024 characters. The minimum length is 0 characters. The value must match regular expression /(.*?)/.
    downloaded Boolean
    (Boolean) Indicates whether the secret data that is associated with a secret version was retrieved in a call to the service API.
    expirationDate String
    (String) The date a secret is expired. The date format follows RFC 3339.
    id String
    The unique identifier of the data source.
    instanceId String
    intermediate String
    (String) (Optional) The PEM-encoded intermediate certificate to associate with the root certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    intermediateIncluded Boolean
    (Boolean) Indicates whether the certificate was imported with an associated intermediate certificate.
    issuer String
    (String) The distinguished name that identifies the entity that signed and issued the certificate.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    keyAlgorithm String
    (String) The identifier for the cryptographic algorithm used to generate the public key that is associated with the certificate.

    • Constraints: The maximum length is 10 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    labels List<String>
    (List) Labels that you can use to search for secrets in your instance.Up to 30 labels can be created.

    • Constraints: The list items must match regular expression /(.*?)/. The maximum length is 30 items. The minimum length is 0 items.
    locksTotal Double
    (Integer) The number of locks of the secret.

    • Constraints: The maximum value is 1000. The minimum value is 0.
    managedCsrs List<GetSmImportedCertificateManagedCsr>
    (List) The data specified to create the CSR and the private key. Nested scheme for managed_csr:
    name String
    (String) The human-readable name of your secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters.
    privateKey String
    (String) (Optional) The PEM-encoded private key to associate with the certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    privateKeyIncluded Boolean
    (Boolean) Indicates whether the certificate was imported with an associated private key.
    region String
    secretGroupId String
    (String) A UUID identifier, or default secret group.

    • Constraints: The maximum length is 36 characters. The minimum length is 7 characters. The value must match regular expression /^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|default)$/.
    secretId String
    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.
    serialNumber String
    (String) The unique serial number that was assigned to a certificate by the issuing certificate authority.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[^a-fA-F0-9]/.
    signingAlgorithm String
    (String) The identifier for the cryptographic algorithm that was used by the issuing certificate authority to sign a certificate.

    • Constraints: The maximum length is 64 characters. The minimum length is 4 characters.
    state Double
    (Integer) The secret state that is based on NIST SP 800-57. States are integers and correspond to the Pre-activation = 0, Active = 1, Suspended = 2, Deactivated = 3, and Destroyed = 5 values.

    • Constraints: Allowable values are: 0, 1, 2, 3, 5.
    stateDescription String
    (String) A text representation of the secret state.

    • Constraints: Allowable values are: pre_activation, active, suspended, deactivated, destroyed.
    updatedAt String
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    validities List<GetSmImportedCertificateValidity>
    (List) The date and time that the certificate validity period begins and ends. Nested scheme for validity:
    versionsTotal Double
    (Integer) The number of versions of the secret.

    • Constraints: The maximum value is 50. The minimum value is 0.
    endpointType String
    secretGroupName String
    certificate string
    (String) The PEM-encoded contents of your certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    commonName string
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    createdAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    crn string
    (String) A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    csr string
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    customMetadata {[key: string]: string}
    (Map) The secret metadata that a user can customize.
    description string
    (String) An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group.

    • Constraints: The maximum length is 1024 characters. The minimum length is 0 characters. The value must match regular expression /(.*?)/.
    downloaded boolean
    (Boolean) Indicates whether the secret data that is associated with a secret version was retrieved in a call to the service API.
    expirationDate string
    (String) The date a secret is expired. The date format follows RFC 3339.
    id string
    The unique identifier of the data source.
    instanceId string
    intermediate string
    (String) (Optional) The PEM-encoded intermediate certificate to associate with the root certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    intermediateIncluded boolean
    (Boolean) Indicates whether the certificate was imported with an associated intermediate certificate.
    issuer string
    (String) The distinguished name that identifies the entity that signed and issued the certificate.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    keyAlgorithm string
    (String) The identifier for the cryptographic algorithm used to generate the public key that is associated with the certificate.

    • Constraints: The maximum length is 10 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    labels string[]
    (List) Labels that you can use to search for secrets in your instance.Up to 30 labels can be created.

    • Constraints: The list items must match regular expression /(.*?)/. The maximum length is 30 items. The minimum length is 0 items.
    locksTotal number
    (Integer) The number of locks of the secret.

    • Constraints: The maximum value is 1000. The minimum value is 0.
    managedCsrs GetSmImportedCertificateManagedCsr[]
    (List) The data specified to create the CSR and the private key. Nested scheme for managed_csr:
    name string
    (String) The human-readable name of your secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters.
    privateKey string
    (String) (Optional) The PEM-encoded private key to associate with the certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    privateKeyIncluded boolean
    (Boolean) Indicates whether the certificate was imported with an associated private key.
    region string
    secretGroupId string
    (String) A UUID identifier, or default secret group.

    • Constraints: The maximum length is 36 characters. The minimum length is 7 characters. The value must match regular expression /^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|default)$/.
    secretId string
    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.
    serialNumber string
    (String) The unique serial number that was assigned to a certificate by the issuing certificate authority.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[^a-fA-F0-9]/.
    signingAlgorithm string
    (String) The identifier for the cryptographic algorithm that was used by the issuing certificate authority to sign a certificate.

    • Constraints: The maximum length is 64 characters. The minimum length is 4 characters.
    state number
    (Integer) The secret state that is based on NIST SP 800-57. States are integers and correspond to the Pre-activation = 0, Active = 1, Suspended = 2, Deactivated = 3, and Destroyed = 5 values.

    • Constraints: Allowable values are: 0, 1, 2, 3, 5.
    stateDescription string
    (String) A text representation of the secret state.

    • Constraints: Allowable values are: pre_activation, active, suspended, deactivated, destroyed.
    updatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    validities GetSmImportedCertificateValidity[]
    (List) The date and time that the certificate validity period begins and ends. Nested scheme for validity:
    versionsTotal number
    (Integer) The number of versions of the secret.

    • Constraints: The maximum value is 50. The minimum value is 0.
    endpointType string
    secretGroupName string
    certificate str
    (String) The PEM-encoded contents of your certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    common_name str
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    created_at str
    (String) The date when a resource was created. The date format follows RFC 3339.
    created_by str
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    crn str
    (String) A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    csr str
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    custom_metadata Mapping[str, str]
    (Map) The secret metadata that a user can customize.
    description str
    (String) An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group.

    • Constraints: The maximum length is 1024 characters. The minimum length is 0 characters. The value must match regular expression /(.*?)/.
    downloaded bool
    (Boolean) Indicates whether the secret data that is associated with a secret version was retrieved in a call to the service API.
    expiration_date str
    (String) The date a secret is expired. The date format follows RFC 3339.
    id str
    The unique identifier of the data source.
    instance_id str
    intermediate str
    (String) (Optional) The PEM-encoded intermediate certificate to associate with the root certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    intermediate_included bool
    (Boolean) Indicates whether the certificate was imported with an associated intermediate certificate.
    issuer str
    (String) The distinguished name that identifies the entity that signed and issued the certificate.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    key_algorithm str
    (String) The identifier for the cryptographic algorithm used to generate the public key that is associated with the certificate.

    • Constraints: The maximum length is 10 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    labels Sequence[str]
    (List) Labels that you can use to search for secrets in your instance.Up to 30 labels can be created.

    • Constraints: The list items must match regular expression /(.*?)/. The maximum length is 30 items. The minimum length is 0 items.
    locks_total float
    (Integer) The number of locks of the secret.

    • Constraints: The maximum value is 1000. The minimum value is 0.
    managed_csrs Sequence[GetSmImportedCertificateManagedCsr]
    (List) The data specified to create the CSR and the private key. Nested scheme for managed_csr:
    name str
    (String) The human-readable name of your secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters.
    private_key str
    (String) (Optional) The PEM-encoded private key to associate with the certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    private_key_included bool
    (Boolean) Indicates whether the certificate was imported with an associated private key.
    region str
    secret_group_id str
    (String) A UUID identifier, or default secret group.

    • Constraints: The maximum length is 36 characters. The minimum length is 7 characters. The value must match regular expression /^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|default)$/.
    secret_id str
    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.
    serial_number str
    (String) The unique serial number that was assigned to a certificate by the issuing certificate authority.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[^a-fA-F0-9]/.
    signing_algorithm str
    (String) The identifier for the cryptographic algorithm that was used by the issuing certificate authority to sign a certificate.

    • Constraints: The maximum length is 64 characters. The minimum length is 4 characters.
    state float
    (Integer) The secret state that is based on NIST SP 800-57. States are integers and correspond to the Pre-activation = 0, Active = 1, Suspended = 2, Deactivated = 3, and Destroyed = 5 values.

    • Constraints: Allowable values are: 0, 1, 2, 3, 5.
    state_description str
    (String) A text representation of the secret state.

    • Constraints: Allowable values are: pre_activation, active, suspended, deactivated, destroyed.
    updated_at str
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    validities Sequence[GetSmImportedCertificateValidity]
    (List) The date and time that the certificate validity period begins and ends. Nested scheme for validity:
    versions_total float
    (Integer) The number of versions of the secret.

    • Constraints: The maximum value is 50. The minimum value is 0.
    endpoint_type str
    secret_group_name str
    certificate String
    (String) The PEM-encoded contents of your certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    commonName String
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    createdAt String
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy String
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    crn String
    (String) A CRN that uniquely identifies an IBM Cloud resource.

    • Constraints: The maximum length is 512 characters. The minimum length is 9 characters. The value must match regular expression /^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/.
    csr String
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    customMetadata Map<String>
    (Map) The secret metadata that a user can customize.
    description String
    (String) An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group.

    • Constraints: The maximum length is 1024 characters. The minimum length is 0 characters. The value must match regular expression /(.*?)/.
    downloaded Boolean
    (Boolean) Indicates whether the secret data that is associated with a secret version was retrieved in a call to the service API.
    expirationDate String
    (String) The date a secret is expired. The date format follows RFC 3339.
    id String
    The unique identifier of the data source.
    instanceId String
    intermediate String
    (String) (Optional) The PEM-encoded intermediate certificate to associate with the root certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    intermediateIncluded Boolean
    (Boolean) Indicates whether the certificate was imported with an associated intermediate certificate.
    issuer String
    (String) The distinguished name that identifies the entity that signed and issued the certificate.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    keyAlgorithm String
    (String) The identifier for the cryptographic algorithm used to generate the public key that is associated with the certificate.

    • Constraints: The maximum length is 10 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    labels List<String>
    (List) Labels that you can use to search for secrets in your instance.Up to 30 labels can be created.

    • Constraints: The list items must match regular expression /(.*?)/. The maximum length is 30 items. The minimum length is 0 items.
    locksTotal Number
    (Integer) The number of locks of the secret.

    • Constraints: The maximum value is 1000. The minimum value is 0.
    managedCsrs List<Property Map>
    (List) The data specified to create the CSR and the private key. Nested scheme for managed_csr:
    name String
    (String) The human-readable name of your secret.

    • Constraints: The maximum length is 256 characters. The minimum length is 2 characters.
    privateKey String
    (String) (Optional) The PEM-encoded private key to associate with the certificate.

    • Constraints: The maximum length is 100000 characters. The minimum length is 50 characters.
    privateKeyIncluded Boolean
    (Boolean) Indicates whether the certificate was imported with an associated private key.
    region String
    secretGroupId String
    (String) A UUID identifier, or default secret group.

    • Constraints: The maximum length is 36 characters. The minimum length is 7 characters. The value must match regular expression /^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|default)$/.
    secretId String
    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.
    serialNumber String
    (String) The unique serial number that was assigned to a certificate by the issuing certificate authority.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[^a-fA-F0-9]/.
    signingAlgorithm String
    (String) The identifier for the cryptographic algorithm that was used by the issuing certificate authority to sign a certificate.

    • Constraints: The maximum length is 64 characters. The minimum length is 4 characters.
    state Number
    (Integer) The secret state that is based on NIST SP 800-57. States are integers and correspond to the Pre-activation = 0, Active = 1, Suspended = 2, Deactivated = 3, and Destroyed = 5 values.

    • Constraints: Allowable values are: 0, 1, 2, 3, 5.
    stateDescription String
    (String) A text representation of the secret state.

    • Constraints: Allowable values are: pre_activation, active, suspended, deactivated, destroyed.
    updatedAt String
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    validities List<Property Map>
    (List) The date and time that the certificate validity period begins and ends. Nested scheme for validity:
    versionsTotal Number
    (Integer) The number of versions of the secret.

    • Constraints: The maximum value is 50. The minimum value is 0.
    endpointType String
    secretGroupName String

    Supporting Types

    GetSmImportedCertificateManagedCsr

    AltNames string
    (String) With the Subject Alternative Name field, you can specify additional hostnames to be protected by a single SSL certificate.
    ClientFlag bool
    (Boolean) This field indicates whether certificate is flagged for client use.
    CodeSigningFlag bool
    ( Boolean) This field indicates whether certificate is flagged for code signing use.
    CommonName string
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    Countries List<string>
    (List) The Country (C) values to define in the subject field of the resulting certificate.
    Csr string
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    EmailProtectionFlag bool
    (String) This field indicates whether certificate is flagged for email protection use.
    ExcludeCnFromSans bool
    (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
    ExtKeyUsage string
    (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
    ExtKeyUsageOids string
    (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
    IpSans string
    (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
    KeyBits double
    (Integer) The number of bits to use to generate the private key.
    KeyType string
    (String) The type of private key to generate.
    KeyUsage string
    (String) The allowed key usage constraint to define for certificate, in a comma-delimited list.
    Localities List<string>
    (List) The Locality (L) values to define in the subject field of the resulting certificate.
    Organizations List<string>
    (List) The Organization (O) values to define in the subject field of the resulting certificate.
    OtherSans string
    (String) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the certificate, in a comma-delimited list.
    Ous List<string>
    (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.
    PolicyIdentifiers string
    (String) A comma-delimited list of policy Object Identifiers (OIDs).
    PostalCodes List<string>
    (List) The postal code values to define in the subject field of the resulting certificate.
    Provinces List<string>
    (List) The Province (ST) values to define in the subject field of the resulting certificate.
    RequireCn bool
    (Boolean) If set to false, makes the common_name field optional while generating a certificate.
    RotateKeys bool
    (Boolean) This field indicates whether the private key will be rotated.
    ServerFlag bool
    (Boolean) This field indicates whether certificate is flagged for server use.
    StreetAddresses List<string>
    (List) The street address values to define in the subject field of the resulting certificate.
    UriSans string
    (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
    UserIds string
    (String) Specifies the list of requested User ID (OID 0.9.2342.19200300.100.1.1) Subject values to be placed on the signed certificate.
    AltNames string
    (String) With the Subject Alternative Name field, you can specify additional hostnames to be protected by a single SSL certificate.
    ClientFlag bool
    (Boolean) This field indicates whether certificate is flagged for client use.
    CodeSigningFlag bool
    ( Boolean) This field indicates whether certificate is flagged for code signing use.
    CommonName string
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    Countries []string
    (List) The Country (C) values to define in the subject field of the resulting certificate.
    Csr string
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    EmailProtectionFlag bool
    (String) This field indicates whether certificate is flagged for email protection use.
    ExcludeCnFromSans bool
    (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
    ExtKeyUsage string
    (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
    ExtKeyUsageOids string
    (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
    IpSans string
    (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
    KeyBits float64
    (Integer) The number of bits to use to generate the private key.
    KeyType string
    (String) The type of private key to generate.
    KeyUsage string
    (String) The allowed key usage constraint to define for certificate, in a comma-delimited list.
    Localities []string
    (List) The Locality (L) values to define in the subject field of the resulting certificate.
    Organizations []string
    (List) The Organization (O) values to define in the subject field of the resulting certificate.
    OtherSans string
    (String) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the certificate, in a comma-delimited list.
    Ous []string
    (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.
    PolicyIdentifiers string
    (String) A comma-delimited list of policy Object Identifiers (OIDs).
    PostalCodes []string
    (List) The postal code values to define in the subject field of the resulting certificate.
    Provinces []string
    (List) The Province (ST) values to define in the subject field of the resulting certificate.
    RequireCn bool
    (Boolean) If set to false, makes the common_name field optional while generating a certificate.
    RotateKeys bool
    (Boolean) This field indicates whether the private key will be rotated.
    ServerFlag bool
    (Boolean) This field indicates whether certificate is flagged for server use.
    StreetAddresses []string
    (List) The street address values to define in the subject field of the resulting certificate.
    UriSans string
    (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
    UserIds string
    (String) Specifies the list of requested User ID (OID 0.9.2342.19200300.100.1.1) Subject values to be placed on the signed certificate.
    altNames String
    (String) With the Subject Alternative Name field, you can specify additional hostnames to be protected by a single SSL certificate.
    clientFlag Boolean
    (Boolean) This field indicates whether certificate is flagged for client use.
    codeSigningFlag Boolean
    ( Boolean) This field indicates whether certificate is flagged for code signing use.
    commonName String
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    countries List<String>
    (List) The Country (C) values to define in the subject field of the resulting certificate.
    csr String
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    emailProtectionFlag Boolean
    (String) This field indicates whether certificate is flagged for email protection use.
    excludeCnFromSans Boolean
    (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
    extKeyUsage String
    (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
    extKeyUsageOids String
    (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
    ipSans String
    (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
    keyBits Double
    (Integer) The number of bits to use to generate the private key.
    keyType String
    (String) The type of private key to generate.
    keyUsage String
    (String) The allowed key usage constraint to define for certificate, in a comma-delimited list.
    localities List<String>
    (List) The Locality (L) values to define in the subject field of the resulting certificate.
    organizations List<String>
    (List) The Organization (O) values to define in the subject field of the resulting certificate.
    otherSans String
    (String) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the certificate, in a comma-delimited list.
    ous List<String>
    (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.
    policyIdentifiers String
    (String) A comma-delimited list of policy Object Identifiers (OIDs).
    postalCodes List<String>
    (List) The postal code values to define in the subject field of the resulting certificate.
    provinces List<String>
    (List) The Province (ST) values to define in the subject field of the resulting certificate.
    requireCn Boolean
    (Boolean) If set to false, makes the common_name field optional while generating a certificate.
    rotateKeys Boolean
    (Boolean) This field indicates whether the private key will be rotated.
    serverFlag Boolean
    (Boolean) This field indicates whether certificate is flagged for server use.
    streetAddresses List<String>
    (List) The street address values to define in the subject field of the resulting certificate.
    uriSans String
    (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
    userIds String
    (String) Specifies the list of requested User ID (OID 0.9.2342.19200300.100.1.1) Subject values to be placed on the signed certificate.
    altNames string
    (String) With the Subject Alternative Name field, you can specify additional hostnames to be protected by a single SSL certificate.
    clientFlag boolean
    (Boolean) This field indicates whether certificate is flagged for client use.
    codeSigningFlag boolean
    ( Boolean) This field indicates whether certificate is flagged for code signing use.
    commonName string
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    countries string[]
    (List) The Country (C) values to define in the subject field of the resulting certificate.
    csr string
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    emailProtectionFlag boolean
    (String) This field indicates whether certificate is flagged for email protection use.
    excludeCnFromSans boolean
    (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
    extKeyUsage string
    (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
    extKeyUsageOids string
    (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
    ipSans string
    (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
    keyBits number
    (Integer) The number of bits to use to generate the private key.
    keyType string
    (String) The type of private key to generate.
    keyUsage string
    (String) The allowed key usage constraint to define for certificate, in a comma-delimited list.
    localities string[]
    (List) The Locality (L) values to define in the subject field of the resulting certificate.
    organizations string[]
    (List) The Organization (O) values to define in the subject field of the resulting certificate.
    otherSans string
    (String) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the certificate, in a comma-delimited list.
    ous string[]
    (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.
    policyIdentifiers string
    (String) A comma-delimited list of policy Object Identifiers (OIDs).
    postalCodes string[]
    (List) The postal code values to define in the subject field of the resulting certificate.
    provinces string[]
    (List) The Province (ST) values to define in the subject field of the resulting certificate.
    requireCn boolean
    (Boolean) If set to false, makes the common_name field optional while generating a certificate.
    rotateKeys boolean
    (Boolean) This field indicates whether the private key will be rotated.
    serverFlag boolean
    (Boolean) This field indicates whether certificate is flagged for server use.
    streetAddresses string[]
    (List) The street address values to define in the subject field of the resulting certificate.
    uriSans string
    (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
    userIds string
    (String) Specifies the list of requested User ID (OID 0.9.2342.19200300.100.1.1) Subject values to be placed on the signed certificate.
    alt_names str
    (String) With the Subject Alternative Name field, you can specify additional hostnames to be protected by a single SSL certificate.
    client_flag bool
    (Boolean) This field indicates whether certificate is flagged for client use.
    code_signing_flag bool
    ( Boolean) This field indicates whether certificate is flagged for code signing use.
    common_name str
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    countries Sequence[str]
    (List) The Country (C) values to define in the subject field of the resulting certificate.
    csr str
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    email_protection_flag bool
    (String) This field indicates whether certificate is flagged for email protection use.
    exclude_cn_from_sans bool
    (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
    ext_key_usage str
    (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
    ext_key_usage_oids str
    (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
    ip_sans str
    (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
    key_bits float
    (Integer) The number of bits to use to generate the private key.
    key_type str
    (String) The type of private key to generate.
    key_usage str
    (String) The allowed key usage constraint to define for certificate, in a comma-delimited list.
    localities Sequence[str]
    (List) The Locality (L) values to define in the subject field of the resulting certificate.
    organizations Sequence[str]
    (List) The Organization (O) values to define in the subject field of the resulting certificate.
    other_sans str
    (String) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the certificate, in a comma-delimited list.
    ous Sequence[str]
    (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.
    policy_identifiers str
    (String) A comma-delimited list of policy Object Identifiers (OIDs).
    postal_codes Sequence[str]
    (List) The postal code values to define in the subject field of the resulting certificate.
    provinces Sequence[str]
    (List) The Province (ST) values to define in the subject field of the resulting certificate.
    require_cn bool
    (Boolean) If set to false, makes the common_name field optional while generating a certificate.
    rotate_keys bool
    (Boolean) This field indicates whether the private key will be rotated.
    server_flag bool
    (Boolean) This field indicates whether certificate is flagged for server use.
    street_addresses Sequence[str]
    (List) The street address values to define in the subject field of the resulting certificate.
    uri_sans str
    (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
    user_ids str
    (String) Specifies the list of requested User ID (OID 0.9.2342.19200300.100.1.1) Subject values to be placed on the signed certificate.
    altNames String
    (String) With the Subject Alternative Name field, you can specify additional hostnames to be protected by a single SSL certificate.
    clientFlag Boolean
    (Boolean) This field indicates whether certificate is flagged for client use.
    codeSigningFlag Boolean
    ( Boolean) This field indicates whether certificate is flagged for code signing use.
    commonName String
    (String) The Common Name (CN) represents the server name protected by the SSL certificate.
    countries List<String>
    (List) The Country (C) values to define in the subject field of the resulting certificate.
    csr String
    (String) The certificate signing request generated based on the parameters in the managed_csr data.
    emailProtectionFlag Boolean
    (String) This field indicates whether certificate is flagged for email protection use.
    excludeCnFromSans Boolean
    (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
    extKeyUsage String
    (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
    extKeyUsageOids String
    (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
    ipSans String
    (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
    keyBits Number
    (Integer) The number of bits to use to generate the private key.
    keyType String
    (String) The type of private key to generate.
    keyUsage String
    (String) The allowed key usage constraint to define for certificate, in a comma-delimited list.
    localities List<String>
    (List) The Locality (L) values to define in the subject field of the resulting certificate.
    organizations List<String>
    (List) The Organization (O) values to define in the subject field of the resulting certificate.
    otherSans String
    (String) The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the certificate, in a comma-delimited list.
    ous List<String>
    (List) The Organizational Unit (OU) values to define in the subject field of the resulting certificate.
    policyIdentifiers String
    (String) A comma-delimited list of policy Object Identifiers (OIDs).
    postalCodes List<String>
    (List) The postal code values to define in the subject field of the resulting certificate.
    provinces List<String>
    (List) The Province (ST) values to define in the subject field of the resulting certificate.
    requireCn Boolean
    (Boolean) If set to false, makes the common_name field optional while generating a certificate.
    rotateKeys Boolean
    (Boolean) This field indicates whether the private key will be rotated.
    serverFlag Boolean
    (Boolean) This field indicates whether certificate is flagged for server use.
    streetAddresses List<String>
    (List) The street address values to define in the subject field of the resulting certificate.
    uriSans String
    (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
    userIds String
    (String) Specifies the list of requested User ID (OID 0.9.2342.19200300.100.1.1) Subject values to be placed on the signed certificate.

    GetSmImportedCertificateValidity

    NotAfter string
    (String) The date-time format follows RFC 3339.
    NotBefore string
    (String) The date-time format follows RFC 3339.
    NotAfter string
    (String) The date-time format follows RFC 3339.
    NotBefore string
    (String) The date-time format follows RFC 3339.
    notAfter String
    (String) The date-time format follows RFC 3339.
    notBefore String
    (String) The date-time format follows RFC 3339.
    notAfter string
    (String) The date-time format follows RFC 3339.
    notBefore string
    (String) The date-time format follows RFC 3339.
    not_after str
    (String) The date-time format follows RFC 3339.
    not_before str
    (String) The date-time format follows RFC 3339.
    notAfter String
    (String) The date-time format follows RFC 3339.
    notBefore String
    (String) The date-time format follows RFC 3339.

    Package Details

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