Create a session
Anyone granted at least one access bundle can create a session. Admins can create one with any access bundle.- Dashboard
- CLI
1
In Agent Vault, go to Sessions and select Create Session.
2
Pick the Access Bundle the agent should use, set a duration under Expires, then select Create Session.

3
Copy the command shown. The session token appears once and can’t be retrieved again.

Revoke a session
To revoke a session before it expires, go to the Sessions page, open the session’s menu, and select Revoke Session. The proxy stops attaching credentials for the session within one poll interval. The Sessions page shows each session as Active, Revoked, or Expired, and keeps expired and revoked sessions for 30 days so you can audit what an agent had access to during the session:
Access changes
The access bundle is chosen when you create the session and can’t be changed afterwards. However, the proxy re-checks whether the agent still gets credentials once every poll interval (60 seconds by default). Here’s how common access changes affect a session:- If someone no longer has any grant on an access bundle, directly or through a group, their sessions for that bundle stop getting credentials
- If someone still has another grant on the bundle, such as through a group, revoking one grant doesn’t affect their sessions
- If you delete an access bundle, every session scoped to it stops getting credentials (the session still lists the bundle’s name, so you can see what it was)
- If you remove someone from Agent Vault, the proxy refuses every request on their sessions
If a session stops getting credentials because of a lost grant or a deleted bundle, the proxy still forwards the agent’s requests, without credentials. Whether those requests reach the upstream host depends on the proxy’s traffic policy.