Manage OAuth client secrets securely
masterWhen managing OAuth client secrets, you have three options depending on your Terraform version and security requirements:
client_basic_secret(Sensitive): The standard way to provide a secret. Warning: This secret will be stored in plain text in your Terraform state file.client_basic_secret_wo(Sensitive, Write-Only): Available for Terraform 1.11+. This is the recommended approach as it does not persist the secret in the Terraform state file. You can useclient_basic_secret_wo_version(a number) to trigger an update when changing the secret.omit_secret(Boolean): If set totrue, the provider will not manage theclient_secretvalue in state. This prevents the auto-generated secret from being persisted in theclient_secretattribute.
Important: You can specify either client_basic_secret or client_basic_secret_wo, but not both. If you change omit_secret from false to true, the secret is dropped from state. If you change it from true to false, the application will be recreated because a new secret must be generated to be stored in state.