From ea6fcd2a8c1375675a55f325938158fa3e5bc938 Mon Sep 17 00:00:00 2001 From: Laurent Pinsivy Date: Tue, 5 Sep 2017 10:22:14 +0100 Subject: [PATCH] Clarify documentation of centreon clapi authentication --- doc/en/api/clapi/overview.rst | 7 +++++-- doc/fr/api/clapi/overview.rst | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/en/api/clapi/overview.rst b/doc/en/api/clapi/overview.rst index 1dd1232ba24..83af37fdcad 100644 --- a/doc/en/api/clapi/overview.rst +++ b/doc/en/api/clapi/overview.rst @@ -23,7 +23,10 @@ All actions in Centreon CLAPI will require authentication, so your commands will # cd /usr/share/centreon/bin # ./centreon -u admin -p centreon [...] -Obviously, the **-u** option is for the username and the **-p** option is for the password. If your passwords -are encoded with SHA1 in database, use the **-s** option:: +Obviously, the **-u** option is for the username and the **-p** option is for the password. +The password can be in clear or the encrypted in the database. + +.. note:: + If your passwords are encoded with SHA1 in database (MD5 by default), use the **-s** option:: # ./centreon -u admin -p centreon -s [...] diff --git a/doc/fr/api/clapi/overview.rst b/doc/fr/api/clapi/overview.rst index 1dd1232ba24..83af37fdcad 100644 --- a/doc/fr/api/clapi/overview.rst +++ b/doc/fr/api/clapi/overview.rst @@ -23,7 +23,10 @@ All actions in Centreon CLAPI will require authentication, so your commands will # cd /usr/share/centreon/bin # ./centreon -u admin -p centreon [...] -Obviously, the **-u** option is for the username and the **-p** option is for the password. If your passwords -are encoded with SHA1 in database, use the **-s** option:: +Obviously, the **-u** option is for the username and the **-p** option is for the password. +The password can be in clear or the encrypted in the database. + +.. note:: + If your passwords are encoded with SHA1 in database (MD5 by default), use the **-s** option:: # ./centreon -u admin -p centreon -s [...]