Automate the creation of service accounts?

Hello there, does anyone has any idea on how can we automate the creation/copying of service accounts from the existing Couchbase cluster to the new Couchbase cluster.

Use either the CLI - Manage Users, Groups, and Roles | Couchbase Docs
or the REST API - Manage Users, Groups, and Roles | Couchbase Docs

see - Users backup and restore - #2 by tmac

Hi Srikanth. From Couchbase Server 7.6 onwards using cbbackupmgr would be the recommended approach for this. See the --enable-users flag for cbbackupmgr config cbbackupmgr config | Couchbase Docs The --disable-* flags can be used to ensure only users are included in the backups being taken.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.