Skip to content

Riak

Overview

This authentication method stores user accounts in Riak.

Configuration options

The riak method uses an outgoing connection pool of type riak with the default tag - it has to be defined in the outgoing_pools section.

There is one additional option:

auth.riak.bucket_type

  • Syntax: string
  • Default: "users"
  • Example: bucket_type = "user_bucket"

Bucket type for storing users in Riak.

Example

Authentication:

1
2
3
4
5
[auth]
  methods = ["riak"]

  [auth.riak]
    bucket_type = "user"

Outgoing pools:

1
2
3
[outgoing_pools.riak.default]
  connection.address = "127.0.0.1"
  connection.port = 8087