We are currently developing tooling to allow us to deploy Views into various environments. We had hoped to use the .NET CouchbaseCluster management API
specifically, the CreateDesignDocument method, but it appears that this can only be used to deploy views using the Adminstrator credentials for the cluster (?) Unfortunately, our operations team aren’t keen to hand out this password for our prod environments due to it’s one-size-fits-all’ nature.
I believe that the CouchbaseCluster API is really just a wrapper around the REST management API. The docs for this state that you can use the bucket credentials to deploy a view.
Can anyone clarify if it is possible to deploy a design document via the .NET API without the admin credentials. If so, how?