Skip to content

Commit

Permalink
Add more context around _labels role fields
Browse files Browse the repository at this point in the history
Closes #10463

We already mention the `cluster_labels` role field in the role
reference, but it could be more explicit that this field deals with
Trusted Clusters. This change adds a short table to the role reference
to indicate the Teleport resources that correspond to different label
fields.
  • Loading branch information
ptgott committed Sep 11, 2024
1 parent 0e4a899 commit fa8d6ad
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions docs/pages/reference/access-controls/roles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -433,13 +433,16 @@ All of these are fields within the `allow` and `deny` sections of a Teleport
role resource.

Labels for resources enrolled with Teleport:
- `app_labels`
- `cluster_labels`
- `db_labels`
- `db_service_labels`
- `kubernetes_labels`
- `node_labels`
- `windows_desktop_labels`

|Role Field|Teleport Resource|
|---|---|
|`app_labels`|[Applications](../../enroll-resources/application-access/controls.mdx)|
|`cluster_labels`|[Trusted Clusters](../../admin-guides/management/admin/trustedclusters.mdx)|
|`db_labels`|[Databases](../../enroll-resources/database-access/rbac.mdx)|
|`db_service_labels`|[Database Service](../../enroll-resources/database-access/database-access.mdx) instances|
|`kubernetes_labels`|[Kubernetes clusters](../../enroll-resources/kubernetes-access/controls.mdx)|
|`node_labels`|[SSH Servers](../../enroll-resources/server-access/server-access.mdx)|
|`windows_desktop_labels`|[Windows desktops](../../enroll-resources/server-access/server-access.mdx)|

Principals a user can assume on infrastructure resources:
- `aws_role_arns`
Expand Down

0 comments on commit fa8d6ad

Please sign in to comment.