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
Use this page to learn how to configure security roles and API keys for Agent Builder. Understanding these privileges helps you control who can use agents, which tools they can access, and what data they can query.
14
14
15
+
## Required privileges
16
+
15
17
Agent Builder requires privileges at three levels:
16
18
17
19
-[{{kib}} feature access](#kib-privileges)
18
-
-[{{es}} cluster access](#es-cluster-privileges)
20
+
-[{{es}} cluster access](#es-cluster-privileges)
19
21
-[{{es}} index access](#es-index-privileges)
20
22
21
23
### {{kib}} privileges
@@ -45,7 +47,9 @@ Tools execute queries against {{es}} indices as the current user. Required privi
45
47
46
48
Learn more about [index privileges](elasticsearch://reference/elasticsearch/security-privileges.md#privileges-list-indices).
47
49
48
-
### Granting access with roles
50
+
## Grant access
51
+
52
+
### Grant access with roles
49
53
50
54
[Roles](/deploy-manage/users-roles/cluster-or-deployment-auth/defining-roles.md) are {{es}} security constructs that bundle together {{kib}} feature privileges and {{es}} privileges. To grant users access to Agent Builder, create a role that includes the required privileges.
51
55
@@ -82,7 +86,7 @@ POST /_security/role/agent-builder-full
82
86
For read-only access, use `feature_agentBuilder.read` instead of `feature_agentBuilder.all`.
83
87
:::
84
88
85
-
### API keys for programmatic access
89
+
### Grant access with API keys
86
90
87
91
When using the Agent Builder APIs programmatically, authenticate with an API key that includes the required privileges.
88
92
@@ -94,7 +98,7 @@ Refer to these pages for API key configuration examples:
94
98
95
99
Learn more about [API keys](/deploy-manage/api-keys/elasticsearch-api-keys.md).
96
100
97
-
### Spaces
101
+
### Working with Spaces
98
102
99
103
Agent Builder respects {{kib}} Spaces when enabled. All conversations, custom agents, and custom tools are scoped to the current Space.
0 commit comments