Skip to content

Video: API tokens and sessions - what each can do and how to end access #1328

Open

Description

@jamieplu

Product: Layer5 Cloud. Diataxis role: explanation. Persona: platform engineer or SRE who hands Layer5 Cloud credentials to scripts and CI and must know how to shut them off.

Question answered: What can a token or a sign-in reach, how long does it last, and how do I end it the moment I need to?

Why video beats text: the contrast is about time. A session fades out on its own after a day while a token stays live until someone deletes it. Two clocks running side by side, then each credential being cut, show the difference faster than a comparison table.

Target length: 3 minutes.

Outline

  1. (30 s) Visual: a user avatar with one browser, one CI pipeline and one Meshery Server each holding a credential. Narration: every sign-in is a session and every automation uses an API token; both act as you.
  2. (45 s) Visual: two timers. The session timer counts to 24 hours and the session turns grey; the token timer shows no expiry. Narration: sessions expire, tokens never do.
  3. (45 s) Visual: the token list showing name and purpose but no value; a download produces a JSON file marked as a password. Narration: you can download the token again at any time, so guard the file.
  4. (40 s) Visual: delete the token; the pipeline's next request fails with 401. Then log out one session. Narration: deleting a token or logging out a session ends access on the next request and cannot be undone.
  5. (20 s) Visual: a role change removes a permission and the token's next call to that action is refused. Narration: a token has no scopes of its own; it can do exactly what you can do, in the organization of each request.

On-screen assets: the Tokens and Sessions tabs with sample rows, a pipeline log showing a 401 after deletion, a token file in an editor.

Terms to define: session, API token, revocation, refresh token.

Closing call to action: follow Create and Use an API Token, and rotate your oldest token.

Embed in: /cloud/concepts/identity-and-security/tokens/ and /cloud/concepts/identity-and-security/sessions/

Features covered: tracker rows C-131 to C-134

Activity

  1. added
    docs-overhaul
    video
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs-overhaulvideo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions