Managing credentials in Terraform Cloud & Enterprise
There are several ways to manage credentials or other secret types in Terraform Cloud and Terraform Enterprise, either natively, or with purpose-built secrets management utilities like HashiCorp Vault.
Review the Managing Credentials in Terraform Cloud & Enterprise documentation.