-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[auth-callout] Support opt-in list of accounts to be delegated in con…
…fig-mode (#5724) This introduces a new `auth_callout` field `allowed_accounts` which enables explicitly listing which accounts in the server config should be delegated to the auth callout service. This improves the current behavior which is an all-or-nothing switch over from config auth to auth callout. The primary motivation for this change is to enable the system account to authenticate against the server rather than being dependent on the availability of the auth callout service. (For reference the name `allowed_accounts` [matches what exists in nsc](https://github.com/nats-io/nsc/blob/main/cmd/editauthorization.go#L33))
- Loading branch information
Showing
4 changed files
with
154 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters