Skip to main content
client.agent_vault.access_bundles.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

str
required
The ID of the access bundle.
List[str]
The IDs of the users to grant the access bundle to.
List[str]
The IDs of the machine identities to grant the access bundle to.
List[str]
The IDs of the groups to grant the access bundle to.

Returns

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