Skip to content

docs: clarify token privilege scoping#1101

Open
Aamod007 wants to merge 1 commit into
layer5io:masterfrom
Aamod007:docs-token-privilege-scoping
Open

docs: clarify token privilege scoping#1101
Aamod007 wants to merge 1 commit into
layer5io:masterfrom
Aamod007:docs-token-privilege-scoping

Conversation

@Aamod007

@Aamod007 Aamod007 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Description

This PR resolves Issue #378 by explicitly clarifying how API authentication tokens handle privileges in Layer5.

Changes Made

  • Added a new \Privilege Scoping\ section to \content/en/cloud/concepts/identity-and-security/tokens.md.
  • Clarified that tokens are identity-scoped, meaning they inherently carry the exact same privileges, roles, and permissions as the user account that generated them.
  • Specified that fine-grained, token-specific privilege scopes (like strictly read-only tokens) are not currently supported, ensuring users understand that the token grants the bearer the same level of access as the generating user across all environments.

ScreenShot

Screenshot 2026-06-14 164640

Closes #378

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a new 'Privilege Scoping' section to the Layer5 Cloud tokens documentation to clarify that API tokens are identity-scoped. The review feedback suggests updating this new section to use the second-person perspective ('you', 'your') to maintain consistency with the rest of the document, and provides a code suggestion to resolve this.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread content/en/cloud/concepts/identity-and-security/tokens.md Outdated
Signed-off-by: Aamod007 <aamodkumar2006@gmail.com>
@Aamod007 Aamod007 force-pushed the docs-token-privilege-scoping branch from 965cc21 to ce55e68 Compare June 14, 2026 11:14
@Aamod007

Aamod007 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

@leecalcote @sudhanshutech @Bhumikagarggg , could you please take a look and review it when you have a chance?

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview deployment: https://docs.layer5.io/pr-preview/pr-1101/

Note: Preview may take a moment (GitHub Pages deployment in progress). Please wait and refresh. Track deployment here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Are authentication tokens privilege-scoped?

1 participant