client.agent_vault.access_bundles.list() lists the access bundles in an Agent Vault project. If the client logs in as a member, list returns only the access bundles granted to the member.
If you pass on_behalf_of_user_email or on_behalf_of_user_id, the client must log in as a machine identity with a delegation that covers the user. list then returns only the access bundles that both the user and the machine identity can use, and requires_setup and servicesRequiringSetup refer to the user’s personal values. You can’t combine on_behalf_of_user_email or on_behalf_of_user_id with granted.
Parameters
The ID of the Agent Vault project to list access bundles from.
True to list only the access bundles with services that still need your personal values, or False to list the rest (defaults to listing both).True to list only the access bundles granted to you directly or through a group, or False to list the ones you can use only because you’re an admin (defaults to listing both).The email address of a user, to list the access bundles that a session on behalf of the user could use (raises a
ValueError if you also pass on_behalf_of_user_id).The ID of a user, to list the access bundles that a session on behalf of the user could use (raises a
ValueError if you also pass on_behalf_of_user_email).Returns
The access bundles in
accessBundles, and the total number of matching access bundles in totalCount (in each access bundle, servicesRequiringSetup lists the services that still need your personal values).