Skip to main content
client.agentVault().delegations.addSubjects() adds users and groups to a machine identity’s delegation. The users and groups that are already in the delegation stay in it. Pass at least one ID. The client must log in as a user or machine identity with the Admin role in the Agent Vault project.
  • If the machine identity has no delegation, addSubjects creates one with the AgentVaultDelegationScope.Selected scope
  • If the delegation covers all members, you can’t add users or groups to it

Parameters

string
required
The ID of the machine identity.
object
required

Returns

AgentVaultDelegationDetail
The delegation after the change, with missingAccessBundles.