Replies: 1 comment 1 reply
|
Copilot helped out here: NATS multi-tenancy is not supported in Kamaji because, unlike PostgreSQL/MySQL, the current NATS integration does not provision per-tenant identities or permissions. In By contrast, PostgreSQL follows the normal multi-tenant path: Kamaji generates tenant-specific To fix NATS multi-tenancy, Kamaji would need a real per-tenant auth and authorization model for NATS. The likely direction is NATS JWT/NKey-based identities: for each tenant, Kamaji would generate tenant credentials and issue a user JWT whose permissions are restricted to that tenant’s JetStream/KV resources. However, this is not something A full solution would therefore require: extending the A likely recommended design Control plane generate a user NKey NATS_CREDS or NATS_USER_JWT and NATS_USER_SEED delete bucket Instead, the privilege set is part of the signed JWT itself. So conceptually: PostgreSQL: CreateUser then GrantPrivileges |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
hi Team!
Wondering around the options for backend storage, I noticed the support for (kine based) NATS. Great!
The docs state a limitation on the usage of multi-tenancy though. Can someone explain to me what is missing here? Kine-by-nats supports a unique bucket name per cluster (using that in the lab to run multiple clusters on the same NATS KV).
According to the initial issues we're missing user management, which hints at the creation of a TCP specific NATS user? Can someone shine a light on this, how is this done in postgres or other kine backends?
https://github.com/clastix/kamaji/issues?q=nats%20is%3Aissue
@prometherion
@thecodeassassin
All reactions