Collector authentication enhancement doc 23/82423/4
authorZlatko Murgoski <zlatko.murgoski@nokia.com>
Fri, 15 Mar 2019 14:05:15 +0000 (15:05 +0100)
committerZlatko Murgoski <zlatko.murgoski@nokia.com>
Fri, 15 Mar 2019 14:14:01 +0000 (15:14 +0100)
Collector authentication enhancement doc update

Change-Id: I03a05cb83dd8c498fb218e82e9b3958348fbb4ac
Issue-ID: DCAEGEN2-1101
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
docs/sections/services/ves-http/configuration.rst
docs/sections/services/ves-http/tls-authentication.rst

index c7f2fe6..a6862f5 100644 (file)
@@ -56,11 +56,10 @@ VES expects to be able to fetch configuration directly from consul service in fo
             }
         },
         "collector.service.secure.port": "8443",
-        "header.authflag": "0",
+        "auth.method": "noAuth",
         "collector.keystore.file.location": "/opt/app/VESCollector/etc/keystore",
-        "collector.keystore.alias": "dynamically generated",
         "services_calls": [],
-        "header.authlist": "sample1,c2FtcGxlMQ=="
+        "header.authlist": "sample1,$2a$10$0buh.2WeYwN868YMwnNNEuNEAMNYVU9.FSMJGyIKV3dGET/7oGOi6"
     }
 
 
index b3cbafd..b5226dc 100644 (file)
@@ -15,6 +15,10 @@ Of course, mutual TLS authentication requires also server certificates, so follo
 
     * *collector.keystore.file.location* - a path to jks key store containing certificates which can be used for TLS handshake
     * *collector.keystore.passwordfile* - a path to file containing a password for the key store
-    * *collector.keystore.alias* - a name of a certificate from a key store which VES will use during TLS handshake
 
-Property *header.authflag=1* may by used along *collector.service.secure.clientauth=1* in order to enable mutual TLS authentication and basic HTTP authentication.
+Property *auth.method* is used to manage security mode, possible configuration: noAuth, basicAuth, certOnly, certBasicAuth
+
+    * *auth.method=noAuth* default option - no security (http)
+    * *auth.method=certOnly* is used to enable mutual TLS authentication (https)
+    * *auth.method=certBasicAuth* is used to enable mutual TLS authentication or/and basic HTTPs authentication
+    * *auth.method=basicAuth* is used to enable basic HTTPs authentication
\ No newline at end of file