Skip to content

Commit 069fa96

Browse files
authored
Document fix for databricks_service_principal_secret (#2332)
* Document fix for servcie_principal_secret * Add backtricks around application_id in index.md
1 parent 895a172 commit 069fa96

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Alternatively, you can provide this value as an environment variable `DATABRICKS
208208

209209
### Authenticating with Service Principal
210210

211-
You can use the `client_id` + `client_secret` attributes to authenticate with a service principal at both the account and workspace levels. The `client_id` is the UUID of the service principal and `client_secret` is its secret. You can generate the secret from Databricks Accounts Console (see [instruction](https://docs.databricks.com/dev-tools/authentication-oauth.html#step-2-create-an-oauth-secret-for-a-service-principal)) or by using the Terraform resource [databricks_service_principal_secret](resources/service_principal_secret.md).
211+
You can use the `client_id` + `client_secret` attributes to authenticate with a service principal at both the account and workspace levels. The `client_id` is the `application_id` of the [Service Principal](resources/service_principal.md) and `client_secret` is its secret. You can generate the secret from Databricks Accounts Console (see [instruction](https://docs.databricks.com/dev-tools/authentication-oauth.html#step-2-create-an-oauth-secret-for-a-service-principal)) or by using the Terraform resource [databricks_service_principal_secret](resources/service_principal_secret.md).
212212

213213
``` hcl
214214
provider "databricks" {
@@ -248,7 +248,7 @@ resource "databricks_group" "cluster_admin" {
248248
}
249249
```
250250

251-
* `client_id` - UUID of the service principal. Alternatively, you can provide this value as an environment variable `DATABRICKS_CLIENT_ID`.
251+
* `client_id` - The `application_id` of the [Service Principal](resources/service_principal.md). Alternatively, you can provide this value as an environment variable `DATABRICKS_CLIENT_ID`.
252252
* `client_secret` - Secret of the service principal. Alternatively, you can provide this value as an environment variable `DATABRICKS_CLIENT_SECRET`.
253253

254254
## Special configurations for Azure

docs/resources/service_principal_secret.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
subcategory: "Security"
33
---
4-
# databricks_service_principal_service Resource
4+
# databricks_service_principal_secret Resource
55

6-
-> **Note** This resource in only available in Databricks AWS.
6+
-> **Note** This resource is only available in Databricks AWS.
77

88
With this resource you can create a secret under the given [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html)
99

0 commit comments

Comments
 (0)