Terraform state file leaking OAuth client secrets

Using the Genesys Cloud Terraform provider for WEM config. The genesyscloud_oauth_client resource is writing the secret key directly to the .tfstate file. Need a way to mask it or store it externally without breaking the apply process. Current setup just dumps plain text JSON in the state. How do you handle this securely?