Prerequisites

Provider v5.0.0: Terraform 1.11 or later is required. Review the breaking changes and migration guidance in Upgrading to Provider v5.0.0 before upgrading.

To use Secret Server with Terraform via the Delinea Platform Terraform provider, you need the following:

For Delinea Platform

  • The latest version of Delinea Platform configured.

  • Valid Delinea Platform Service user credentials with necessary permissions.

  • Necessary view permissions for the secrets you want to access through the Terraform provider.

  • If using token-based authentication, generate an access token. To generate and retrieve an access token to authenticate with the Delinea Platform, follow these steps in the Delinea Platform documentation (see the "Retrieving an Access Token Using the client_credentials Grant Type" section).

For Terraform

  • A Windows or Linux computer where Terraform will run.

  • Make sure to have Terraform version 1.11.0 or above. The provider's write-only password_value attribute on tss_resource_secret relies on a Terraform 1.11 core feature, so earlier versions reject the provider schema. (Ephemeral resources on their own require only Terraform 1.10, but 1.11 is the provider's overall floor.)

  • With provider v5.0.0 and later, tss_server_url must use https:// for any remote host, and an unauthenticated GET to <tss_server_url>/api/v1/healthcheck or <tss_server_url>/health must return a direct 2xx response when you authenticate with a username and password.