Skip to main content
client.agentVault().accessBundles.grant() grants an access bundle to users, machine identities, or groups. Pass at least one ID, and at most 100 in total. The client must log in as a user or machine identity with the Admin role in the Agent Vault project. Each user, machine identity, and group must be a member of the Agent Vault project. If a user or machine identity is in the Agent Vault project only through a group, grant fails and grants nothing. Grant the access bundle to the group instead, or first add the user or machine identity to the Agent Vault project.

Parameters

string
required
The ID of the access bundle.
object
required

Returns

GrantAgentVaultAccessBundleResponse
The new grants in members, and the users, machine identities, and groups that already had the access bundle in skipped.