Skip to content

Latest commit

 

History

History

keystore-certificate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

MQ on Cloud keystore certificate

To enable client processes to trust the queue manager create a public certificate that will be presented by the queue manager.

Learn more

Usage

module "keystore_certificate" {
  source               = "terraform-ibm-modules/mq-cloud/ibm//modules/keystore-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_keystore_certificate.mqcloud_keystore_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.
dns_names The list of DNS names.
dns_names_total_count The total count of dns names.
expiry Expiry date for the certificate.
fingerprint_sha256 The SHA256 fingerprint for the certificate.
href The URL for this key store certificate.
id The unique identifier of the key store certificate.
is_default Indicates whether it is the queue manager's default 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.