client.agent_vault.proxies.rotate_token() issues a new proxy token. The client must log in as a user or machine identity with the Admin role in the Agent Vault project.
Issue a new proxy token if the current token leaked. Rotating the token also restores a revoked proxy’s access. The old token stops working right away. To restart the proxy and its agents, follow the steps in Rotate a proxy’s token.
Parameters
Returns
The proxy in
proxy, and the new proxy token in proxyToken (Infisical returns the token only once).