You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templates/index.md.tmpl
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,16 @@
2
2
layout: ""
3
3
page_title: "Provider: Dynatrace"
4
4
description: |-
5
-
The Dynatrace Terraform Provider provides resources to interact with the Dynatrace REST API.
5
+
The Dynatrace Terraform provider provides resources to interact with the Dynatrace API.
6
6
---
7
7
8
8
# Dynatrace Terraform Provider
9
9
10
-
The Dynatrace Terraform Provider is used to interact with the resources supported by the Dynatrace REST API. The provider needs to be configured with the proper credentials before it can be used.
10
+
The Dynatrace Terraform provider is used to interact with the resources supported by the Dynatrace API. The provider needs to be configured with the proper credentials before it can be used.
11
11
12
12
Use the navigation to the left to learn about the available resources and data sources. For additional information, refer to the official Dynatrace documentation on Terraform available [here](https://dt-url.net/3s63qyj).
13
13
14
-
The Dynatrace Terraform Provider is officially supported by Dynatrace.
14
+
The Dynatrace Terraform provider is officially supported by Dynatrace.
15
15
16
16
## Example
17
17
@@ -30,8 +30,8 @@ terraform {
30
30
The recommended approach is to configure the provider via environment variables.
31
31
32
32
Define `DYNATRACE_ENV_URL` for the Dynatrace environment URL.
To create an API token with full access to all resources, define`DYNATRACE_API_TOKEN` as an [access token](https://docs.dynatrace.com/docs/manage/identity-access-management/access-tokens-and-oauth-clients/access-tokens) with the following permissions.
37
37
* **Read settings** (`settings.read`)
@@ -101,9 +101,9 @@ Define `DT_CLIENT_ID`, `DT_CLIENT_SECRET`, `DT_ACCOUNT_ID` based off of the crea
101
101
102
102
### Authenticating with OAuth Credentials
103
103
104
-
The Terraform Provider supports using OAuth credentials for authentication with endpoints that allow both API Tokenand OAuth-based access.
104
+
The Terraform provider supports using OAuth credentials for authentication with endpoints that allow both API tokenand OAuth-based access.
105
105
106
-
> **Note:** Not all resources currently support OAuth. For example, the `dynatrace_json_dashboard` resource can only be configured using API Tokens.
106
+
> **Note:** Not all resources currently support OAuth. For example, the `dynatrace_json_dashboard` resource can only be configured using API tokens.
107
107
108
108
To enable OAuth-based authentication, set the environment variable:
When this variable is set and OAuth credentials (e.g., `DT_CLIENT_ID`and`DT_CLIENT_SECRET`) are provided, the provider will prioritize using REST endpoints that support OAuth.
115
115
116
-
If `DYNATRACE_HTTP_OAUTH_PREFERENCE` is not set or is not`true`, the provider will default to using an API Token for authentication.
116
+
If `DYNATRACE_HTTP_OAUTH_PREFERENCE` is not set or is not`true`, the provider will default to using an API token for authentication.
117
117
118
118
---
119
119
120
-
### Authenticating withPlatform Tokens
120
+
### Authenticating withplatform tokens
121
121
122
-
You can authenticate using a Platform Token by setting the environment variable:
122
+
You can authenticate using a platform token by setting the environment variable:
123
123
124
124
```
125
125
DYNATRACE_PLATFORM_TOKEN=<<PLATFORM_TOKEN>>
@@ -129,8 +129,8 @@ Alternatively, you can use the `platform_token` attribute in the provider config
129
129
130
130
If `DYNATRACE_PLATFORM_TOKEN` is not defined, the provider will use the configured OAuth credentials (`DT_CLIENT_ID`and`DT_CLIENT_SECRET`) to obtain a Bearer token.
131
131
132
-
Platform Token authentication follows the same selection rules as OAuth credentials:
133
-
When the environment variable `DYNATRACE_HTTP_OAUTH_PREFERENCE` is set to `true`, the provider will favor Platformor OAuth tokens over API Tokens.
132
+
Platform token authentication follows the same selection rules as OAuth credentials:
133
+
When the environment variable `DYNATRACE_HTTP_OAUTH_PREFERENCE` is set to `true`, the provider will favor platformor OAuth tokens over API tokens.
134
134
135
135
136
136
## Exporting existing configuration from a Dynatrace environment
0 commit comments