v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secret Syncs

Create a Terraform Cloud Sync for the specified project environment.

post/api/v1/secret-syncs/terraform-cloud

Request body

namestring required

The name of the Terraform Cloud Sync to create. Must be slug-friendly.

projectIdstring required

The ID of the project to create the sync in.

descriptionstring nullable

An optional description for the Terraform Cloud Sync.

connectionIdstring uuid required

The ID of the Terraform Cloud Connection to use for syncing.

environmentstring required

The slug of the project environment to sync secrets from.

secretPathstring required

The folder path to sync secrets from.

isAutoSyncEnabledboolean

Whether secrets should be automatically synced when changes occur at the source location or not.

Response

Default Response