Configure an admin user, databases, users and grants
diff --git a/README.rst b/README.rst
index c43b53c..48a494f 100644
--- a/README.rst
+++ b/README.rst
@@ -40,6 +40,83 @@
key_file: /etc/influxdb/ssl/key.pem
cert_file: /etc/influxdb/ssl/cert.pem
+Single-node influxdb with an admin user:
+
+.. code-block:: yaml
+
+ influxdb:
+ server:
+ enabled: true
+ http:
+ enabled: true
+ bind:
+ address: 0.0.0.0
+ port: 8086
+ admin:
+ enabled: true
+ bind:
+ address: 0.0.0.0
+ port: 8083
+ user:
+ enabled: true
+ name: root
+ password: secret
+
+Single-node influxdb with new users:
+
+.. code-block:: yaml
+
+ influxdb:
+ server:
+ user:
+ user1:
+ enabled: true
+ admin: true
+ name: username1
+ password: keepsecret1
+ user2:
+ enabled: true
+ admin: false
+ name: username2
+ password: keepsecret2
+
+Single-node influxdb with new databases:
+
+.. code-block:: yaml
+
+ influxdb:
+ server:
+ database:
+ mydb1:
+ enabled: true
+ name: mydb1
+ mydb2:
+ enabled: true
+ name: mydb2
+
+Here is how to manage grants on database:
+
+.. code-block:: yaml
+
+ influxdb:
+ server:
+ grant:
+ username1_mydb1:
+ enabled: true
+ user: username1
+ database: mydb1
+ privilege: all
+ username2_mydb1:
+ enabled: true
+ user: username2
+ database: mydb1
+ privilege: read
+ username2_mydb2:
+ enabled: true
+ user: username2
+ database: mydb2
+ privilege: write
+
InfluxDB relay:
.. code-block:: yaml