Skip to content

Latest commit

 

History

History

experimental-certificate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

MQ on Cloud trust store certificate download

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

Learn more

This module downloads the provided certificates certificate file.

Usage

# Source a certificate
data "ibm_mqcloud_truststore_certificate" "certificate" {
  label                 = "LetsEncryptIssuingCA"
  queue_manager_id      = local.queue_manager_id
  service_instance_guid = local.override_guid
}

# Download the certificate from the certificates href
module "experimental_certificate" {
  source           = "terraform-ibm-modules/mq-cloud/ibm//modules/experimental-certificate"
  version          = "X.X.X"  # Replace "X.X.X" with a release version to lock into a specific release
  ibmcloud_api_key = "IBM Cloud Api Key"   # pragma: allowlist secret
  href             = data.ibm_mqcloud_truststore_certificate.certificate.trust_store[0].href
}

Requirements

Name Version
terraform >= 1.3.0
external >= 2.3.4

Modules

No modules.

Resources

Name Type
external_external.certificate data source

Inputs

Name Description Type Default Required
href The truststore certificates href string n/a yes
ibmcloud_api_key The IBM Cloud API key to deploy resources string n/a yes

Outputs

Name Description
certificate name