-
Notifications
You must be signed in to change notification settings - Fork 4.1k
security: KV auth broker #49105
Copy link
Copy link
Closed
Labels
A-multitenancyRelated to multi-tenancyRelated to multi-tenancyC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Description
SQL tenant servers will receive access tokens from a dedicated auth broker service. A token encodes the tenant ID and an expiration timestamp. The pattern is roughly that a tenant is initiated with a valid token and can periodically contact the auth broker (using a valid token) to issue a new valid token with a larger expiration timestamp. For simplicity, the auth broker will live in the main repo and comes bundled with ./cockroach, though we will also allow building it as a small stand-alone binary (from ./pkg/cmd/authbroker).
See #47898.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-multitenancyRelated to multi-tenancyRelated to multi-tenancyC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)