ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getSmImportedCertificateMetadata
Explore with Pulumi AI
Provides a read-only data source for the metadata of an imported certificate. 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 importedCertificateMetadata = ibm.getSmImportedCertificateMetadata({
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_metadata = ibm.get_sm_imported_certificate_metadata(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.GetSmImportedCertificateMetadata(ctx, &ibm.GetSmImportedCertificateMetadataArgs{
InstanceId: ibm_resource_instance.Sm_instance.Guid,
Region: pulumi.StringRef("us-south"),
SecretId: "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 importedCertificateMetadata = Ibm.GetSmImportedCertificateMetadata.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.GetSmImportedCertificateMetadataArgs;
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 importedCertificateMetadata = IbmFunctions.getSmImportedCertificateMetadata(GetSmImportedCertificateMetadataArgs.builder()
.instanceId(ibm_resource_instance.sm_instance().guid())
.region("us-south")
.secretId("0b5571f7-21e6-42b7-91c5-3f5ac9793a46")
.build());
}
}
variables:
importedCertificateMetadata:
fn::invoke:
function: ibm:getSmImportedCertificateMetadata
arguments:
instanceId: ${ibm_resource_instance.sm_instance.guid}
region: us-south
secretId: 0b5571f7-21e6-42b7-91c5-3f5ac9793a46
Using getSmImportedCertificateMetadata
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 getSmImportedCertificateMetadata(args: GetSmImportedCertificateMetadataArgs, opts?: InvokeOptions): Promise<GetSmImportedCertificateMetadataResult>
function getSmImportedCertificateMetadataOutput(args: GetSmImportedCertificateMetadataOutputArgs, opts?: InvokeOptions): Output<GetSmImportedCertificateMetadataResult>
def get_sm_imported_certificate_metadata(endpoint_type: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
region: Optional[str] = None,
secret_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSmImportedCertificateMetadataResult
def get_sm_imported_certificate_metadata_output(endpoint_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
secret_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSmImportedCertificateMetadataResult]
func GetSmImportedCertificateMetadata(ctx *Context, args *GetSmImportedCertificateMetadataArgs, opts ...InvokeOption) (*GetSmImportedCertificateMetadataResult, error)
func GetSmImportedCertificateMetadataOutput(ctx *Context, args *GetSmImportedCertificateMetadataOutputArgs, opts ...InvokeOption) GetSmImportedCertificateMetadataResultOutput
> Note: This function is named GetSmImportedCertificateMetadata
in the Go SDK.
public static class GetSmImportedCertificateMetadata
{
public static Task<GetSmImportedCertificateMetadataResult> InvokeAsync(GetSmImportedCertificateMetadataArgs args, InvokeOptions? opts = null)
public static Output<GetSmImportedCertificateMetadataResult> Invoke(GetSmImportedCertificateMetadataInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSmImportedCertificateMetadataResult> getSmImportedCertificateMetadata(GetSmImportedCertificateMetadataArgs args, InvokeOptions options)
public static Output<GetSmImportedCertificateMetadataResult> getSmImportedCertificateMetadata(GetSmImportedCertificateMetadataArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getSmImportedCertificateMetadata:getSmImportedCertificateMetadata
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - The GUID of the Secrets Manager instance.
- Secret
Id string - The ID of the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}/
.
- Constraints: The maximum length is
- Endpoint
Type string - The endpoint type. If not provided the endpoint type is determined by the
visibility
argument provided in the provider configuration.- Constraints: Allowable values are:
private
,public
.
- Constraints: Allowable values are:
- 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 string - The GUID of the Secrets Manager instance.
- Secret
Id string - The ID of the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}/
.
- Constraints: The maximum length is
- Endpoint
Type string - The endpoint type. If not provided the endpoint type is determined by the
visibility
argument provided in the provider configuration.- Constraints: Allowable values are:
private
,public
.
- Constraints: Allowable values are:
- 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 String - The GUID of the Secrets Manager instance.
- secret
Id String - The ID of the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}/
.
- Constraints: The maximum length is
- endpoint
Type String - The endpoint type. If not provided the endpoint type is determined by the
visibility
argument provided in the provider configuration.- Constraints: Allowable values are:
private
,public
.
- Constraints: Allowable values are:
- 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 string - The GUID of the Secrets Manager instance.
- secret
Id string - The ID of the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}/
.
- Constraints: The maximum length is
- endpoint
Type string - The endpoint type. If not provided the endpoint type is determined by the
visibility
argument provided in the provider configuration.- Constraints: Allowable values are:
private
,public
.
- Constraints: Allowable values are:
- 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.
- secret_
id str - The ID of the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}/
.
- Constraints: The maximum length is
- endpoint_
type str - The endpoint type. If not provided the endpoint type is determined by the
visibility
argument provided in the provider configuration.- Constraints: Allowable values are:
private
,public
.
- Constraints: Allowable values are:
- 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.
- instance
Id String - The GUID of the Secrets Manager instance.
- secret
Id String - The ID of the secret.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}/
.
- Constraints: The maximum length is
- endpoint
Type String - The endpoint type. If not provided the endpoint type is determined by the
visibility
argument provided in the provider configuration.- Constraints: Allowable values are:
private
,public
.
- Constraints: Allowable values are:
- 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.
getSmImportedCertificateMetadata Result
The following output properties are available:
- Common
Name string - (String) The Common Name (CN) represents the server name protected by the SSL certificate.
- Created
At string - (String) The date when a resource was created. The date format follows RFC 3339.
- Created
By 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 is4
characters.
- Constraints: The maximum length is
- Crn string
- (String) A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- Custom
Metadata 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 is0
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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 string - (String) The date a secret is expired. The date format follows RFC 3339.
- Id string
- The unique identifier of the data source.
- Instance
Id string - Intermediate
Included 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- Key
Algorithm 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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 is30
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Locks
Total double - (Integer) The number of locks of the secret.
- Constraints: The maximum value is
1000
. The minimum value is0
.
- Constraints: The maximum value is
- Managed
Csrs List<GetSm Imported Certificate Metadata Managed Csr> - (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 is2
characters.
- Constraints: The maximum length is
- Private
Key boolIncluded - (Boolean) Indicates whether the certificate was imported with an associated private key.
- Region string
- Secret
Group stringId - (String) A UUID identifier, or
default
secret group.- Constraints: The maximum length is
36
characters. The minimum length is7
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)$/
.
- Constraints: The maximum length is
- Secret
Id string - Secret
Type string - (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.
- Constraints: Allowable values are:
arbitrary
,imported_cert
,public_cert
,iam_credentials
,kv
,username_password
,private_cert
.
- Constraints: Allowable values are:
- Serial
Number 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 is2
characters. The value must match regular expression/[^a-fA-F0-9]/
.
- Constraints: The maximum length is
- Signing
Algorithm 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 is4
characters.
- Constraints: The maximum length is
- 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
, andDestroyed = 5
values.- Constraints: Allowable values are:
0
,1
,2
,3
,5
.
- Constraints: Allowable values are:
- State
Description string - (String) A text representation of the secret state.
- Constraints: Allowable values are:
pre_activation
,active
,suspended
,deactivated
,destroyed
.
- Constraints: Allowable values are:
- Updated
At string - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- Validities
List<Get
Sm Imported Certificate Metadata Validity> - (List) The date and time that the certificate validity period begins and ends. Nested scheme for validity:
- Versions
Total double - (Integer) The number of versions of the secret.
- Constraints: The maximum value is
50
. The minimum value is0
.
- Constraints: The maximum value is
- Endpoint
Type string
- Common
Name string - (String) The Common Name (CN) represents the server name protected by the SSL certificate.
- Created
At string - (String) The date when a resource was created. The date format follows RFC 3339.
- Created
By 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 is4
characters.
- Constraints: The maximum length is
- Crn string
- (String) A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- Custom
Metadata 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 is0
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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 string - (String) The date a secret is expired. The date format follows RFC 3339.
- Id string
- The unique identifier of the data source.
- Instance
Id string - Intermediate
Included 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- Key
Algorithm 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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 is30
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Locks
Total float64 - (Integer) The number of locks of the secret.
- Constraints: The maximum value is
1000
. The minimum value is0
.
- Constraints: The maximum value is
- Managed
Csrs []GetSm Imported Certificate Metadata Managed Csr - (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 is2
characters.
- Constraints: The maximum length is
- Private
Key boolIncluded - (Boolean) Indicates whether the certificate was imported with an associated private key.
- Region string
- Secret
Group stringId - (String) A UUID identifier, or
default
secret group.- Constraints: The maximum length is
36
characters. The minimum length is7
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)$/
.
- Constraints: The maximum length is
- Secret
Id string - Secret
Type string - (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.
- Constraints: Allowable values are:
arbitrary
,imported_cert
,public_cert
,iam_credentials
,kv
,username_password
,private_cert
.
- Constraints: Allowable values are:
- Serial
Number 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 is2
characters. The value must match regular expression/[^a-fA-F0-9]/
.
- Constraints: The maximum length is
- Signing
Algorithm 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 is4
characters.
- Constraints: The maximum length is
- 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
, andDestroyed = 5
values.- Constraints: Allowable values are:
0
,1
,2
,3
,5
.
- Constraints: Allowable values are:
- State
Description string - (String) A text representation of the secret state.
- Constraints: Allowable values are:
pre_activation
,active
,suspended
,deactivated
,destroyed
.
- Constraints: Allowable values are:
- Updated
At string - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- Validities
[]Get
Sm Imported Certificate Metadata Validity - (List) The date and time that the certificate validity period begins and ends. Nested scheme for validity:
- Versions
Total float64 - (Integer) The number of versions of the secret.
- Constraints: The maximum value is
50
. The minimum value is0
.
- Constraints: The maximum value is
- Endpoint
Type string
- common
Name String - (String) The Common Name (CN) represents the server name protected by the SSL certificate.
- created
At String - (String) The date when a resource was created. The date format follows RFC 3339.
- created
By 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 is4
characters.
- Constraints: The maximum length is
- crn String
- (String) A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- custom
Metadata 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 is0
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- downloaded Boolean
- (Boolean) Indicates whether the secret data that is associated with a secret version was retrieved in a call to the service API.
- expiration
Date String - (String) The date a secret is expired. The date format follows RFC 3339.
- id String
- The unique identifier of the data source.
- instance
Id String - intermediate
Included 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- key
Algorithm 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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 is30
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- locks
Total Double - (Integer) The number of locks of the secret.
- Constraints: The maximum value is
1000
. The minimum value is0
.
- Constraints: The maximum value is
- managed
Csrs List<GetSm Imported Certificate Metadata Managed Csr> - (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 is2
characters.
- Constraints: The maximum length is
- private
Key BooleanIncluded - (Boolean) Indicates whether the certificate was imported with an associated private key.
- region String
- secret
Group StringId - (String) A UUID identifier, or
default
secret group.- Constraints: The maximum length is
36
characters. The minimum length is7
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)$/
.
- Constraints: The maximum length is
- secret
Id String - secret
Type String - (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.
- Constraints: Allowable values are:
arbitrary
,imported_cert
,public_cert
,iam_credentials
,kv
,username_password
,private_cert
.
- Constraints: Allowable values are:
- serial
Number 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 is2
characters. The value must match regular expression/[^a-fA-F0-9]/
.
- Constraints: The maximum length is
- signing
Algorithm 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 is4
characters.
- Constraints: The maximum length is
- 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
, andDestroyed = 5
values.- Constraints: Allowable values are:
0
,1
,2
,3
,5
.
- Constraints: Allowable values are:
- state
Description String - (String) A text representation of the secret state.
- Constraints: Allowable values are:
pre_activation
,active
,suspended
,deactivated
,destroyed
.
- Constraints: Allowable values are:
- updated
At String - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- validities
List<Get
Sm Imported Certificate Metadata Validity> - (List) The date and time that the certificate validity period begins and ends. Nested scheme for validity:
- versions
Total Double - (Integer) The number of versions of the secret.
- Constraints: The maximum value is
50
. The minimum value is0
.
- Constraints: The maximum value is
- endpoint
Type String
- common
Name string - (String) The Common Name (CN) represents the server name protected by the SSL certificate.
- created
At string - (String) The date when a resource was created. The date format follows RFC 3339.
- created
By 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 is4
characters.
- Constraints: The maximum length is
- crn string
- (String) A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- custom
Metadata {[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 is0
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- downloaded boolean
- (Boolean) Indicates whether the secret data that is associated with a secret version was retrieved in a call to the service API.
- expiration
Date string - (String) The date a secret is expired. The date format follows RFC 3339.
- id string
- The unique identifier of the data source.
- instance
Id string - intermediate
Included 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- key
Algorithm 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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 is30
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- locks
Total number - (Integer) The number of locks of the secret.
- Constraints: The maximum value is
1000
. The minimum value is0
.
- Constraints: The maximum value is
- managed
Csrs GetSm Imported Certificate Metadata Managed Csr[] - (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 is2
characters.
- Constraints: The maximum length is
- private
Key booleanIncluded - (Boolean) Indicates whether the certificate was imported with an associated private key.
- region string
- secret
Group stringId - (String) A UUID identifier, or
default
secret group.- Constraints: The maximum length is
36
characters. The minimum length is7
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)$/
.
- Constraints: The maximum length is
- secret
Id string - secret
Type string - (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.
- Constraints: Allowable values are:
arbitrary
,imported_cert
,public_cert
,iam_credentials
,kv
,username_password
,private_cert
.
- Constraints: Allowable values are:
- serial
Number 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 is2
characters. The value must match regular expression/[^a-fA-F0-9]/
.
- Constraints: The maximum length is
- signing
Algorithm 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 is4
characters.
- Constraints: The maximum length is
- 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
, andDestroyed = 5
values.- Constraints: Allowable values are:
0
,1
,2
,3
,5
.
- Constraints: Allowable values are:
- state
Description string - (String) A text representation of the secret state.
- Constraints: Allowable values are:
pre_activation
,active
,suspended
,deactivated
,destroyed
.
- Constraints: Allowable values are:
- updated
At string - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- validities
Get
Sm Imported Certificate Metadata Validity[] - (List) The date and time that the certificate validity period begins and ends. Nested scheme for validity:
- versions
Total number - (Integer) The number of versions of the secret.
- Constraints: The maximum value is
50
. The minimum value is0
.
- Constraints: The maximum value is
- endpoint
Type string
- 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 is4
characters.
- Constraints: The maximum length is
- crn str
- (String) A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- 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 is0
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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_
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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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 is30
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- locks_
total float - (Integer) The number of locks of the secret.
- Constraints: The maximum value is
1000
. The minimum value is0
.
- Constraints: The maximum value is
- managed_
csrs Sequence[GetSm Imported Certificate Metadata Managed Csr] - (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 is2
characters.
- Constraints: The maximum length is
- private_
key_ boolincluded - (Boolean) Indicates whether the certificate was imported with an associated private key.
- region str
- secret_
group_ strid - (String) A UUID identifier, or
default
secret group.- Constraints: The maximum length is
36
characters. The minimum length is7
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)$/
.
- Constraints: The maximum length is
- 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
.
- Constraints: Allowable values are:
- 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 is2
characters. The value must match regular expression/[^a-fA-F0-9]/
.
- Constraints: The maximum length is
- 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 is4
characters.
- Constraints: The maximum length is
- 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
, andDestroyed = 5
values.- Constraints: Allowable values are:
0
,1
,2
,3
,5
.
- Constraints: Allowable values are:
- state_
description str - (String) A text representation of the secret state.
- Constraints: Allowable values are:
pre_activation
,active
,suspended
,deactivated
,destroyed
.
- Constraints: Allowable values are:
- updated_
at str - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- validities
Sequence[Get
Sm Imported Certificate Metadata Validity] - (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 is0
.
- Constraints: The maximum value is
- endpoint_
type str
- common
Name String - (String) The Common Name (CN) represents the server name protected by the SSL certificate.
- created
At String - (String) The date when a resource was created. The date format follows RFC 3339.
- created
By 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 is4
characters.
- Constraints: The maximum length is
- crn String
- (String) A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- custom
Metadata 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 is0
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- downloaded Boolean
- (Boolean) Indicates whether the secret data that is associated with a secret version was retrieved in a call to the service API.
- expiration
Date String - (String) The date a secret is expired. The date format follows RFC 3339.
- id String
- The unique identifier of the data source.
- instance
Id String - intermediate
Included 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- key
Algorithm 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 is2
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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 is30
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- locks
Total Number - (Integer) The number of locks of the secret.
- Constraints: The maximum value is
1000
. The minimum value is0
.
- Constraints: The maximum value is
- managed
Csrs 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 is2
characters.
- Constraints: The maximum length is
- private
Key BooleanIncluded - (Boolean) Indicates whether the certificate was imported with an associated private key.
- region String
- secret
Group StringId - (String) A UUID identifier, or
default
secret group.- Constraints: The maximum length is
36
characters. The minimum length is7
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)$/
.
- Constraints: The maximum length is
- secret
Id String - secret
Type String - (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.
- Constraints: Allowable values are:
arbitrary
,imported_cert
,public_cert
,iam_credentials
,kv
,username_password
,private_cert
.
- Constraints: Allowable values are:
- serial
Number 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 is2
characters. The value must match regular expression/[^a-fA-F0-9]/
.
- Constraints: The maximum length is
- signing
Algorithm 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 is4
characters.
- Constraints: The maximum length is
- 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
, andDestroyed = 5
values.- Constraints: Allowable values are:
0
,1
,2
,3
,5
.
- Constraints: Allowable values are:
- state
Description String - (String) A text representation of the secret state.
- Constraints: Allowable values are:
pre_activation
,active
,suspended
,deactivated
,destroyed
.
- Constraints: Allowable values are:
- updated
At 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:
- versions
Total Number - (Integer) The number of versions of the secret.
- Constraints: The maximum value is
50
. The minimum value is0
.
- Constraints: The maximum value is
- endpoint
Type String
Supporting Types
GetSmImportedCertificateMetadataManagedCsr
- Alt
Names string - (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 boolFlag - ( Boolean) This field indicates whether certificate is flagged for code signing use.
- Common
Name 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. - Email
Protection boolFlag - (String) This field indicates whether certificate is flagged for email protection use.
- Exclude
Cn boolFrom Sans - (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
- Ext
Key stringUsage - (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
- Ext
Key stringUsage Oids - (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
- Ip
Sans string - (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
- Key
Bits double - (Integer) The number of bits to use to generate the private key.
- Key
Type string - (String) The type of private key to generate.
- Key
Usage 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.
- Other
Sans 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.
- Policy
Identifiers string - (String) A comma-delimited list of policy Object Identifiers (OIDs).
- Postal
Codes 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.
- 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 List<string> - (List) The street address values to define in the subject field of the resulting certificate.
- Uri
Sans string - (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
- User
Ids 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 string - (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 boolFlag - ( Boolean) This field indicates whether certificate is flagged for code signing use.
- Common
Name 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. - Email
Protection boolFlag - (String) This field indicates whether certificate is flagged for email protection use.
- Exclude
Cn boolFrom Sans - (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
- Ext
Key stringUsage - (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
- Ext
Key stringUsage Oids - (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
- Ip
Sans string - (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
- Key
Bits float64 - (Integer) The number of bits to use to generate the private key.
- Key
Type string - (String) The type of private key to generate.
- Key
Usage 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.
- Other
Sans 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.
- Policy
Identifiers string - (String) A comma-delimited list of policy Object Identifiers (OIDs).
- Postal
Codes []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.
- 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 []string - (List) The street address values to define in the subject field of the resulting certificate.
- Uri
Sans string - (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
- User
Ids 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 String - (String) With the Subject Alternative Name field, you can specify additional hostnames to be protected by a single SSL certificate.
- client
Flag Boolean - (Boolean) This field indicates whether certificate is flagged for client use.
- code
Signing BooleanFlag - ( Boolean) This field indicates whether certificate is flagged for code signing use.
- common
Name 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. - email
Protection BooleanFlag - (String) This field indicates whether certificate is flagged for email protection use.
- exclude
Cn BooleanFrom Sans - (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
- ext
Key StringUsage - (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
- ext
Key StringUsage Oids - (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
- ip
Sans String - (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
- key
Bits Double - (Integer) The number of bits to use to generate the private key.
- key
Type String - (String) The type of private key to generate.
- key
Usage 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.
- other
Sans 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.
- policy
Identifiers String - (String) A comma-delimited list of policy Object Identifiers (OIDs).
- postal
Codes 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.
- require
Cn Boolean - (Boolean) If set to false, makes the common_name field optional while generating a certificate.
- rotate
Keys Boolean - (Boolean) This field indicates whether the private key will be rotated.
- server
Flag Boolean - (Boolean) This field indicates whether certificate is flagged for server use.
- street
Addresses List<String> - (List) The street address values to define in the subject field of the resulting certificate.
- uri
Sans String - (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
- user
Ids 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 string - (String) With the Subject Alternative Name field, you can specify additional hostnames to be protected by a single SSL certificate.
- client
Flag boolean - (Boolean) This field indicates whether certificate is flagged for client use.
- code
Signing booleanFlag - ( Boolean) This field indicates whether certificate is flagged for code signing use.
- common
Name 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. - email
Protection booleanFlag - (String) This field indicates whether certificate is flagged for email protection use.
- exclude
Cn booleanFrom Sans - (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
- ext
Key stringUsage - (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
- ext
Key stringUsage Oids - (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
- ip
Sans string - (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
- key
Bits number - (Integer) The number of bits to use to generate the private key.
- key
Type string - (String) The type of private key to generate.
- key
Usage 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.
- other
Sans 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.
- policy
Identifiers string - (String) A comma-delimited list of policy Object Identifiers (OIDs).
- postal
Codes 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.
- require
Cn boolean - (Boolean) If set to false, makes the common_name field optional while generating a certificate.
- rotate
Keys boolean - (Boolean) This field indicates whether the private key will be rotated.
- server
Flag boolean - (Boolean) This field indicates whether certificate is flagged for server use.
- street
Addresses string[] - (List) The street address values to define in the subject field of the resulting certificate.
- uri
Sans string - (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
- user
Ids 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_ boolflag - ( 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_ boolflag - (String) This field indicates whether certificate is flagged for email protection use.
- exclude_
cn_ boolfrom_ sans - (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
- ext_
key_ strusage - (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
- ext_
key_ strusage_ oids - (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.
- alt
Names String - (String) With the Subject Alternative Name field, you can specify additional hostnames to be protected by a single SSL certificate.
- client
Flag Boolean - (Boolean) This field indicates whether certificate is flagged for client use.
- code
Signing BooleanFlag - ( Boolean) This field indicates whether certificate is flagged for code signing use.
- common
Name 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. - email
Protection BooleanFlag - (String) This field indicates whether certificate is flagged for email protection use.
- exclude
Cn BooleanFrom Sans - (String) This parameter controls whether the common name is excluded from Subject Alternative Names (SANs).
- ext
Key StringUsage - (String) The allowed extended key usage constraint on certificate, in a comma-delimited list.
- ext
Key StringUsage Oids - (String) A comma-delimited list of extended key usage Object Identifiers (OIDs).
- ip
Sans String - (String) The IP Subject Alternative Names to define for the certificate, in a comma-delimited list.
- key
Bits Number - (Integer) The number of bits to use to generate the private key.
- key
Type String - (String) The type of private key to generate.
- key
Usage 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.
- other
Sans 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.
- policy
Identifiers String - (String) A comma-delimited list of policy Object Identifiers (OIDs).
- postal
Codes 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.
- require
Cn Boolean - (Boolean) If set to false, makes the common_name field optional while generating a certificate.
- rotate
Keys Boolean - (Boolean) This field indicates whether the private key will be rotated.
- server
Flag Boolean - (Boolean) This field indicates whether certificate is flagged for server use.
- street
Addresses List<String> - (List) The street address values to define in the subject field of the resulting certificate.
- uri
Sans String - (String) The URI Subject Alternative Names to define for the certificate, in a comma-delimited list.
- user
Ids 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.
GetSmImportedCertificateMetadataValidity
- not_
after str - (String) The date-time format follows RFC 3339.
- not_
before str - (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.