Manage streams / KVs across multiplea accounts with one user #5606
-
When NATS is configured with multiple accounts, I can have one user for each account and, if I need to manage streams / KVs in an account, I need to authenticate as the user of the respective account. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Each account is a separate tenant, with fully isolated subject context etc. You can however use system account to overview the whole NATS & JetStream system. |
Beta Was this translation helpful? Give feedback.
-
You should be able to import the foreign account jetstream API and manage it using the API prefix options in clients and CLI |
Beta Was this translation helpful? Give feedback.
-
It depends on your usecase, but there are some options outside NATS. |
Beta Was this translation helpful? Give feedback.
-
You can source streams from one account to another and have (some) control over what subjects get transferred: https://github.com/synadia-labs/cross-account-jetstream-sourcing |
Beta Was this translation helpful? Give feedback.
The system account provides JetStream as a service to all enabled accounts. So that is correct, you can not enable JetStream on the system account.