Skip to content

Commit 7b9c73d

Browse files
ravirahul-dbnfx
andauthored
Add a warning in databricks_permissions token usage docs (#1380)
Co-authored-by: Serge Smertin <[email protected]>
1 parent aca78d4 commit 7b9c73d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/resources/permissions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,9 @@ resource "databricks_permissions" "password_usage" {
495495

496496
## Token usage
497497

498-
-> **Note** It is required to have at least 1 personal access token in the workspace before you can manage tokens permissions.
498+
It is required to have at least 1 personal access token in the workspace before you can manage tokens permissions.
499+
500+
!> **Warning** There can be only one `authorization = "tokens"` permissions resource per workspace, otherwise there'll be a permanent configuration drift. After applying changes, users who previously had either `CAN_USE` or `CAN_MANAGE` permission but no longer have either permission have their access to token-based authentication revoked. Their active tokens are immediately deleted (revoked).
499501

500502
Only [possible permission](https://docs.databricks.com/administration-guide/access-control/tokens.html) to assign to non-admin group is `CAN_USE`, where _admins_ `CAN_MANAGE` all tokens:
501503

0 commit comments

Comments
 (0)