From a856d54c8df7bf3a0212b4c7fd8f18a6a6b91449 Mon Sep 17 00:00:00 2001 From: xuegao Date: Fri, 18 Dec 2020 10:37:23 +0100 Subject: Add basic auth header Add basic auth header for sdc-backend-init python scripts. Issue-ID: OJSI-273 Signed-off-by: xuegao Change-Id: I3559d5792509db0f65b202a731545083c7c91c96 Signed-off-by: xuegao --- .../chef-repo/cookbooks/sdc-catalog-be-setup/attributes/default.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/attributes') diff --git a/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/attributes/default.rb b/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/attributes/default.rb index 792d600548..682885312e 100644 --- a/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/attributes/default.rb +++ b/catalog-be/sdc-backend-init/chef-repo/cookbooks/sdc-catalog-be-setup/attributes/default.rb @@ -1 +1,5 @@ -# +#BasicAuth +default['basic_auth']['enabled'] = true +default['basic_auth'][:user_name] = "testName" +default['basic_auth'][:user_pass] = "testPass" + -- cgit 1.2.3-korg