Storing Sensitive Data

Caution

Terraform configuration files and state files may contain sensitive data.

When configuring your Oracle Cloud Infrastructure (OCI) Terraform provider, you should 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, like database or user passwords or instance private keys, you should treat the state itself as sensitive data. Please refer to Sensitive Data in State for more details.