summaryrefslogtreecommitdiff
path: root/docs/man/soledad-create-userdb.1.rst
blob: 3f3d1758fb67d81309da52a36b0ae035503679e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
=====================
soledad-create-userdb
=====================

------------------------------------------------------------------------
Create a user database for use with Soledad Server in the LEAP Platform.
------------------------------------------------------------------------

:Author: The LEAP Encryption Access Project https://leap.se
:Copyright: GPLv3+
:Manual section: 1
:Manual group: General Commands Manual

SYNOPSIS
========

``soledad-create-userdb`` [-h] `dbname`

DESCRIPTION
===========

``soledad-create-userdb`` is a command used by Soledad Server to create user
databases for use with the LEAP Platform.

The current database backend used by the LEAP Platform is CouchDB. This command
will parse the Soledad Server configuration file to find the path for a netrc
file with the administrative CouchDB credentials. See the **FILES** section
below for more information on this. 

This command is meant to be run by the `soledad` user in the system, which
should have special privileges so it can read the CouchDB administrative
credentials from the netrc file pointed by the Soledad Server configuration
file.

OPTIONS
=======

`dbname`
  The name of the database to be created.

-h, --help
  Print a help message and exit.

FILES
=====

/etc/soledad/soledad-server.conf
  The Soledad Server configuration file. The path to a netrc file with CouchDB
  administrative credentials should be set in this file with the option
  ``admin_netrc`` under the section ``[soledad-server]``.

ENVIRONMENT
===========

SOLEDAD_SERVER_CONFIG_FILE
  If set, the command will parse the configuration file pointed by this variable
  instead of the default one in */etc/soledad/soledad-server.conf*.

SOLEDAD_BYPASS_AUTH
  If set, the command will not try to load the CouchDB administrative
  credentials and URI from a configuration file. Instead, it will use
  ``http://127.0.0.1:5984/`` as URI (without username and password).

BUGS
====

Please report any bugs to https://leap.se/code/projects/report-issues