This is an experimental module to extend the application module. This module uses the application create_api_key_uri to return an application user name and password.
Learn more
This module is problematic in some environments. A temporary step during the provisioning of the key writes to a file. This file has to be retained from one terraform command to another. This means pipeline environments, such as IBM Cloud schematics, which use a clean environment for each run will fail after the first apply.
module "application_api_key" {
source = "terraform-ibm-modules/mq-cloud/ibm//modules/experimental-api-key"
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
key_name = "my-application-key"
href = module.<application>.href
}
No modules.
Name |
Description |
Type |
Default |
Required |
href |
The application href |
string |
n/a |
yes |
ibmcloud_api_key |
The IBM Cloud API key to deploy resources. |
string |
n/a |
yes |
key_name |
The name to give to the api key |
string |
n/a |
yes |
Name |
Description |
api_key |
MQ on Cloud application API key (sensitive) |
api_key_id |
MQ on Cloud application API key id |
api_key_name |
MQ on Cloud application API key name |