You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "sheyt0 (via GitHub)" <gi...@apache.org> on 2024/04/26 12:07:47 UTC

[D] How to use non-default user for replication [kvrocks]

GitHub user sheyt0 created a discussion: How to use non-default user for replication

Is it possible to use a non-default user (RO) for replication?

Something like
```
user *ro_user* on +@read +PSYNC +REPLCONF ~* >*ro_user_pass*
```
in Redis


GitHub link: https://github.com/apache/kvrocks/discussions/2274

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] How to use non-default user for replication [kvrocks]

Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: How to use non-default user for replication

I have added it to our 2024 yearly plan: https://github.com/apache/kvrocks/discussions/1974, but  cannot promise the finished time.

GitHub link: https://github.com/apache/kvrocks/discussions/2274#discussioncomment-9237965

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] How to use non-default user for replication [kvrocks]

Posted by "sheyt0 (via GitHub)" <gi...@apache.org>.
GitHub user sheyt0 added a comment to the discussion: How to use non-default user for replication

@git-hulk, thanks.
I'm using namespaces + requerepass on master + masterauth on replicas.
There's nothing stopping someone from taking masterauth
 value from config and use it to connect via redis-cli to master and make any changes.

GitHub link: https://github.com/apache/kvrocks/discussions/2274#discussioncomment-9237150

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] How to use non-default user for replication [kvrocks]

Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: How to use non-default user for replication

@sheyt0 Kvrocks doesn't support the ACL user for now, but you can use the namespace mechanism to separate the default user(admin) and other users, please refer: https://kvrocks.apache.org/docs/namespace 

GitHub link: https://github.com/apache/kvrocks/discussions/2274#discussioncomment-9236940

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] How to use non-default user for replication [kvrocks]

Posted by "sheyt0 (via GitHub)" <gi...@apache.org>.
GitHub user sheyt0 added a comment to the discussion: How to use non-default user for replication

Are there any plans to add support in the near future?

GitHub link: https://github.com/apache/kvrocks/discussions/2274#discussioncomment-9237406

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] How to use non-default user for replication [kvrocks]

Posted by "sheyt0 (via GitHub)" <gi...@apache.org>.
GitHub user sheyt0 edited a discussion: How to use non-default user for replication

Is it possible to use a non-default user (RO) for replication?

Something like
```
user *ro_user* on +@read +PSYNC +REPLCONF ~* >*ro_user_pass*
```
and
```
masteruser *ro_user*
masterauth *ro_user_pass*
```
in Redis


GitHub link: https://github.com/apache/kvrocks/discussions/2274

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] How to use non-default user for replication [kvrocks]

Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: How to use non-default user for replication

@sheyt0 Yes, no way to workaround this without the ACL user feature.

GitHub link: https://github.com/apache/kvrocks/discussions/2274#discussioncomment-9237202

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org