Skip to content
master
Go to file
Code
This branch is 63 commits behind couchbaselabs:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Couchbase Extensions

Build status

A collection of extensions for the Couchbase .Net SDK designed to simplify working with Couchbase within .Net Core applications.

Developer Guide

Using Couchbase 5.0 Role Based Authentication

New to Couchbase Server 5.0 is Role Based Authentication or RBAC, which requires a cluster level user with roles to be created on the server. Alternatively, you can use the cluster user and password to authenticate with any bucket on the server. To get started, we suggest you create a config file with your Username and Password fields matching the RBAC user you have created on the server (or the cluster admin in dev environments):

{
  "Couchbase": {
    "Username": "Administrator",
    "Password" : "password",
    "Servers": [
      "http://localhost:8091/"
    ],
    "Buckets": [
      {
        "Name": "travel-sample"
      }
    ]
  }
}

For examples checkout the TestApp and Couchbase.Extensions.DependencyInjection.IntegrationTests projects in this repo.

If you are using a Couchbase Server version that does not support RBAC (all Pre-5.0 servers), then you will use the traditional Bucket name and password to open the bucket.

Licensing

Open source under the Apache 2.0 license. Please contribute :)

About

Extensions for Couchbase for .Net Core

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.