-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Adding resource backend for scoped join tokens #59609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,17 +53,23 @@ message GetScopedTokenResponse { | |
|
|
||
| // ListScopedTokensRequest is the request to list scoped tokens. | ||
| message ListScopedTokensRequest { | ||
| // ResourceScope filters tokens by their resource scope if specified. | ||
| // Filter tokens by their resource scope. | ||
| teleport.scopes.v1.Filter resource_scope = 1; | ||
|
|
||
| // AssignedScope filters tokens by their assigned scope if specified. | ||
| // Filter tokens by their assigned scope. | ||
| teleport.scopes.v1.Filter assigned_scope = 2; | ||
|
|
||
| // Cursor is the pagination cursor. | ||
| // The pagination cursor. | ||
| string cursor = 3; | ||
|
|
||
| // Limit is the maximum number of results to return. | ||
| // The maximum number of results to return. | ||
| uint32 limit = 4; | ||
|
|
||
| // Filter tokens that apply at least one of the provided roles. | ||
| repeated string roles = 5; | ||
|
|
||
| // Filter tokens that match all provided labels. | ||
| map<string, string> labels = 6; | ||
|
Comment on lines
+68
to
+72
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the future please don't backport RPCs in release branches if they're not finalized and the semantics are planned to be changed in backwards-incompatible ways - I almost requested changes on this because I saw the proto definition in branch/v18, and this change is only ok because the server side of things is not actually implemented in any release yet. |
||
| } | ||
|
|
||
| // ListScopedTokensResponse is the response to list scoped tokens. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.