Skip to content

[Feature]: Add a --scopes flag to the cli t3 auth pairing create #4392

Description

@Albro3459

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/server

Problem or use case

Creating a new pairing token from the cli doesn't allow for limiting the scopes of that session.
Essentially I don't want my remote sessions to have terminal access for security reasons.
It is possible to create a pairing token with scopes over http, but not through the cli.

Proposed solution

Add a --scopes flag to allow uses to create pairing tokens that will have limited scopes.

Why this matters

Security with remote sessions through the t3 web app.

Smallest useful scope

A --scopes flag that takes in the allowed scopes

Alternatives considered

No response

Risks or tradeoffs

No response

Examples or references

No response

Contribution

  • I would be open to helping implement this.

Activity

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

    enhancementRequested improvement or new capability.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions