You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2019/07/11 22:15:13 UTC
[couchdb-documentation] branch master updated: Update security.rst
(#402)
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
The following commit(s) were added to refs/heads/master by this push:
new 1144215 Update security.rst (#402)
1144215 is described below
commit 1144215e3eecddb79211a27cc64e7fd95387e5e8
Author: Tabeth Nkangoh <ta...@tabeth.com>
AuthorDate: Fri Jul 12 06:15:09 2019 +0800
Update security.rst (#402)
Improve text to make this easier for first-time users.
---
src/intro/security.rst | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/intro/security.rst b/src/intro/security.rst
index e603840..f5811c9 100644
--- a/src/intro/security.rst
+++ b/src/intro/security.rst
@@ -84,6 +84,7 @@ Let's do another walk through the API using `curl` to see how CouchDB behaves
when you add admin users. ::
> HOST="http://127.0.0.1:5984"
+ > NODENAME="_local"
> curl -X PUT $HOST/database
{"ok":true}
@@ -99,6 +100,13 @@ As per the :ref:`_config <api/config>` API's behavior, we're getting
the previous value for the config item we just wrote. Since our admin user
didn't exist, we get an empty string.
+Please note that ``_local`` serves as an alias for the local node name, so
+for all configuration URLs, ``NODENAME`` may be set to ``_local``, to interact
+with the local node’s configuration.
+
+.. seealso::
+ :ref:`Node Management <cluster/nodes>`
+
Hashing Passwords
^^^^^^^^^^^^^^^^^