client.agent_vault.proxies.create() creates a proxy and its proxy token. The client must log in as a user or machine identity with the Admin role in the Agent Vault project.
Parameters
The ID of the Agent Vault project to create the proxy in.
The proxy’s traffic policy, either
AgentVaultTrafficPolicy.ANY_HOST ("any-host") to forward requests to any host or AgentVaultTrafficPolicy.SERVICE_HOSTS ("service-hosts") to refuse requests to hosts that none of the session’s services cover (defaults to AgentVaultTrafficPolicy.ANY_HOST; 1.1.0 calls SERVICE_HOSTS AgentVaultTrafficPolicy.BUNDLE_HOSTS, and that name still works).Hosts that agents can reach under
AgentVaultTrafficPolicy.SERVICE_HOSTS even if none of the session’s services cover them, as a list or a comma-separated string (see Exceptions).How often, in seconds, the proxy checks its sessions and settings with Infisical, from 10 to 300 (defaults to
60).Returns
The proxy in
proxy, and its proxy token in proxyToken (Infisical returns the token only once).