Storing Sensitive Data

Store sensitive data when using the OCI Terraform provider.

Caution

Terraform configuration files and state files might contain sensitive data.

When configuring the OCI Terraform provider, use variables to define your provider instead of including sensitive information within the file.

Terraform state files contain all resource attributes that are specified as part of configuration files. If you manage any sensitive data with Terraform, such as database or user passwords or instance private keys, treat the state itself as sensitive data. For more information, see Sensitive Data in State.