Sessions
Sessions lists every temporary read-only credential Portainer-Command has issued, for every user. Each one is a Portainer account scoped to a single environment, which deletes itself when it expires. Users see their own sessions under My sessions.
View sessions
The summary cards show the number of Active sessions and how many have ever been issued. Click a card to filter the table.
The table shows each session's Environment, Owner, the Reason the agent gave, its State, and when it was Issued and Expires / ended. Use Search sessions…, the state filter, and the sort menu to narrow the list.
Active
The credential is live.
Expired
The credential reached its expiry and was removed.
Revoked
The credential was ended early, by its agent, its owner, or an administrator.
Unrecorded
Portainer holds the credential, but Portainer-Command has no record of issuing it.
Session details
Click a session to see its full record:
Identity: the access ID, the Kubernetes Service account the session acts as, and the Portainer user ID behind it. The service account is what appears as
user.usernamein Kubernetes audit events, so use it to match a session against your cluster's audit log.Attribution: the owner, environment, connection, and reason.
Lifetime: when it was issued, when it expires or expired, and how it ended.
Revoke sessions
Click Revoke on a session's page, or select several sessions in the table and click Revoke in the bar that appears. Revoking takes effect immediately and has no confirmation. Portainer removes the credential's service account and role bindings from the cluster.
To end every session on one environment at once, use Emergency halt.
Last updated
Was this helpful?