This module helps to create secret groups and secrets with Terraform.
To use the module, specify one of:
resource_secret_group
resource_secret_arbitrary
resource_secret_username_password
resource_secret_iam_credentials
resource_secret_imported_cert
resource_secret_public_cert
resource_secret_private_cert
resource_secret_kv
module "my_secret_group" {
source = "we-work-in-the-cloud/secrets-manager/ibm"
iam_token = data.ibm_iam_auth_token.tokendata.iam_access_token
endpoint = var.secrets_manager_endpoint
resource_secret_group = {
name = "my-secret-group"
description = "my-secret-group-description"
}
}
Name | Version |
---|---|
terraform | >= 1.0 |
restapi | >= 1.17 |
Name | Version |
---|---|
null | n/a |
restapi | >= 1.17 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
endpoint | Endpoint to the Secrets Manager instance | string |
n/a | yes |
iam_token | IAM token to make API calls to the Secrets Manager instance | string |
n/a | yes |
resource_secret_arbitrary | Set the values for this input to create a secret of type arbitrary | object({ |
null |
no |
resource_secret_group | Set the values for this input to create a secret group | object({ |
null |
no |
resource_secret_iam_credentials | Set the values for this input to create a secret of type iam_credentials | object({ |
null |
no |
resource_secret_imported_cert | Set the values for this input to create a secret of type imported_cert | object({ |
null |
no |
resource_secret_kv | Set the values for this input to create a secret of type kv | object({ |
null |
no |
resource_secret_private_cert | Set the values for this input to create a secret of type private_cert | object({ |
null |
no |
resource_secret_public_cert | Set the values for this input to create a secret of type public_cert | object({ |
null |
no |
resource_secret_username_password | Set the values for this input to create a secret of type username_password | object({ |
null |
no |
Name | Description |
---|---|
id | ID of the created secret group or secret |
Apache 2 Licensed. See LICENSE for full details.
Generated with terraform-docs markdown table . --hide-empty