aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/main/resources')
-rw-r--r--framework/src/main/resources/onap.properties14
1 files changed, 12 insertions, 2 deletions
diff --git a/framework/src/main/resources/onap.properties b/framework/src/main/resources/onap.properties
index 7eb8e598..84a86e83 100644
--- a/framework/src/main/resources/onap.properties
+++ b/framework/src/main/resources/onap.properties
@@ -1,7 +1,6 @@
cli.ignore_auth=false
cli.version=1.0
-http.api_key=X-Auth-Token
-http.api_key_use_cookies=true
+cli.http.api_key_use_cookies=true
cli.service_name=onap-cli
cli.api_gateway=msb
@@ -12,3 +11,14 @@ cli.exclude_params_internal_cmd=onap-username,onap-password,host-url,no-auth
cli.no_auth_disable_include_params_external_cmd=onap-username,onap-password,host-url,no-auth
cli.no_auth_enable_exclude_params_external_cmd=onap-username,onap-password,no-auth
cli.no_auth_enable_include_params_external_cmd=host-url
+
+cli.service.auth=aaf
+cli.http.basic.common_headers=x-auth-token,x-transaction-id,x-app-id
+cli.http.basic.common_headers.x-auth-token=Authorization
+cli.http.basic.common_headers.x-transaction-id=X-TransactionId
+cli.http.basic.common_headers.x-transaction-id.value=req-uuid
+cli.http.basic.common_headers.x-app-id=X-FromAppId
+cli.http.basic.common_headers.x-app-id.value=onap-cli
+
+#TODO mrkanag add support for aaf like defined above for basic
+#cli.service.auth=aaf \ No newline at end of file