You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: added support to create service credentials using existing service ID with new input service_credentials_existing_serviceid_crn<br>* added support to pass a a list of custom parameters to the service credential creation using new input service_credentials_parameters<br>- Example: service_credentials_parameters = { "service-endpoints" : "public" } (#221)
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,8 +192,10 @@ No modules.
192
192
| <aname="input_secret_type"></a> [secret\_type](#input\_secret\_type)| Type of secret to create, must be one of: arbitrary, username\_password, imported\_cert, service\_credentials |`string`| n/a | yes |
193
193
| <aname="input_secret_username"></a> [secret\_username](#input\_secret\_username)| Username of the secret to create. Applies only to `username_password` secret types. When `null`, an `arbitrary` secret is created. |`string`|`null`| no |
194
194
| <aname="input_secrets_manager_guid"></a> [secrets\_manager\_guid](#input\_secrets\_manager\_guid)| The instance ID of the Secrets Manager instance where the secret will be added. |`string`| n/a | yes |
195
+
| <aname="input_service_credentials_existing_serviceid_crn"></a> [service\_credentials\_existing\_serviceid\_crn](#input\_service\_credentials\_existing\_serviceid\_crn)| The optional parameter 'serviceid\_crn' for creating service credentials. If not passed in, a new Service ID will be created. For more information see https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_service_credentials_secret#parameters|`string`|`null`| no |
196
+
| <aname="input_service_credentials_parameters"></a> [service\_credentials\_parameters](#input\_service\_credentials\_parameters)| List of all custom parameters for service credential. |`map(string)`|`null`| no |
195
197
| <aname="input_service_credentials_source_service_crn"></a> [service\_credentials\_source\_service\_crn](#input\_service\_credentials\_source\_service\_crn)| The CRN of the source service instance to create the service credential. |`string`|`null`| no |
196
-
| <aname="input_service_credentials_source_service_hmac"></a> [service\_credentials\_source\_service\_hmac](#input\_service\_credentials\_source\_service\_hmac)| The optional boolean parameter HMAC for creating specific kind of credentials. For more information see https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_service_credentials_secret#parameters|`bool`|`false`| no |
198
+
| <aname="input_service_credentials_source_service_hmac"></a> [service\_credentials\_source\_service\_hmac](#input\_service\_credentials\_source\_service\_hmac)| The optional boolean parameter 'HMAC' for creating specific kind of credentials. For more information see https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_service_credentials_secret#parameters|`bool`|`false`| no |
197
199
| <aname="input_service_credentials_source_service_role"></a> [service\_credentials\_source\_service\_role](#input\_service\_credentials\_source\_service\_role)| The role to give the service credential in the source service. |`string`|`null`| no |
198
200
| <aname="input_service_credentials_ttl"></a> [service\_credentials\_ttl](#input\_service\_credentials\_ttl)| The time-to-live (TTL) to assign to generated service credentials (in seconds). |`number`|`"7776000"`| no |
description="The optional boolean parameter 'HMAC' for creating specific kind of credentials. For more information see https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_service_credentials_secret#parameters"
description="The optional parameter 'serviceid_crn' for creating service credentials. If not passed in, a new Service ID will be created. For more information see https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_service_credentials_secret#parameters"
130
+
default=null
131
+
}
132
+
115
133
variable"endpoint_type" {
116
134
type=string
117
135
description="The endpoint type to communicate with the provided secrets manager instance. Possible values are `public` or `private`"
description="The optional boolean parameter HMAC for creating specific kind of credentials. For more information see https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_service_credentials_secret#parameters"
0 commit comments