Skip to main content

Access Requests

The serval access command group lets you search available roles, submit access requests, view your existing requests, and cancel pending ones — all from the terminal.

Commands


Search the roles you are eligible to request access to. Without a query, all available roles are listed. With a query, results are filtered by team name, app name, resource name, or role name.
Output columns

serval access request

Submit an access request for a specific role. The role ID can be found using serval access search.
Flags Duration validation Before submitting, the CLI checks the role’s access policy. If the role has a maximum allowed duration:
  • Requesting --duration 0 (indefinite) will be rejected
  • Requesting a duration longer than the maximum will be rejected
Output On success, the CLI prints the ticket reference and a direct link:

serval access list

List your access requests. By default, only active requests (pending approval or currently provisioned) are shown.
Flags Status values

serval access cancel

Cancel a pending access request, or revoke an active one, by its request ID. Use serval access list to find the request ID.
If provisioning has already started, the CLI automatically falls back to revoking the access instead of canceling it.