Account Question #3021
-
Hi We have a configuration similart to:
If I try to list streams with the SYS account I get: $ nats stream list
nats: error: could not list streams: context deadline exceeded, try --help This is probably because it is not allowed to enable jetstream for SYS the account. Would it be possible to create an account that is able to list all streams and consumers for all accounts? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
That is correct, the $SYS account provides JetStream. From the $SYS account you can do the following.
We do not allow the behavior to have a role up for all accounts, that would violate a security principle. @ripienaar may have some other handy NATS cli commands though. |
Beta Was this translation helpful? Give feedback.
-
The $SYS account gives you certain permissions as an operator, but users accounts are still secure. You can write a multiplexer that would utilize limited credentials from all the accounts you wish to monitor. We have no plans to violate the security model of accounts, its design around security is very important to our users and customers. |
Beta Was this translation helpful? Give feedback.
The $SYS account gives you certain permissions as an operator, but users accounts are still secure. You can write a multiplexer that would utilize limited credentials from all the accounts you wish to monitor. We have no plans to violate the security model of accounts, its design around security is very important to our users and customers.