Skip to content

Latest commit

 

History

History

truststore-certificate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

MQ on Cloud trust store certificate

The trust store is used to trust certificates from MQ clients and other queue managers that connect to the queue manager.

Learn more

Usage

module "truststore_certificate" {
  source               = "terraform-ibm-modules/mq-cloud/ibm//modules/struststore-certificate"
  version              = "X.X.X"  # Replace "X.X.X" with a release version to lock into a specific release
  service_instance_crn = "crn:<...>" # MQ on Cloud deployment instance crn
  certificate          = "YmFzZTY0IGVuY29kZWQgY2VydGlmaWNhdGUK" # Base64 encoded certificate
  label                = ["label-1", "label-2"]
  queue_manager_id     = "11111111-1111-1111-1111-111111111111/11111111111111111111111111111111" # MQ on Cloud queue manager id
}

Requirements

Name Version
terraform >= 1.3.0
ibm >= 1.67.0, <2.0.0

Modules

No modules.

Resources

Name Type
ibm_mqcloud_truststore_certificate.mqcloud_truststore_certificate resource

Inputs

Name Description Type Default Required
certificate A base64 encoded string contain a PEM certificate chain. string n/a yes
label The label to use for the certificate to be uploaded. string n/a yes
queue_manager_id The id of the queue manager. string n/a yes
service_instance_crn The CRN that uniquely identifies the MQ on Cloud deployment service instance. string n/a yes

Outputs

Name Description
certificate_id Id of the certificate.
expiry Expiry date for the certificate.
fingerprint_sha256 The SHA256 fingerprint for the certificate.
href The URL for this trust store certificate.
id The unique identifier of the trusted store certificate.
issued The date the certificate was issued.
issuer_cn The certificate issuer's common name.
issuer_dn The certificate issuer's distinguished name.
subject_cn The certificate subject's common name.
subject_dn The certificate subject's distinguished name.
trusted Indicates whether a certificate is trusted.