summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2018-09-27 08:06:26 -0700
committerDileep Ranganathan <dileep.ranganathan@intel.com>2018-10-08 03:21:43 -0700
commitfa9960690db89b0695c266abdb9009e2331f6f3c (patch)
treeba2946805cc2b6e9c8b31767909002e15b371743 /config
parent9d5af7d79a3c32099da70c512d35fa2662812b7a (diff)
Retrieve secrets using Secret Management Service
Integrate with OSDF by retrieving stored secrets using SMS Application code remains in tact as the secrets are preloaded and stored in config. The configs in clear text will be deprecated eventually. OOM needs to load aaf-sms and preload secrets before oof deployment. Updated to use domain name instead of domain uuid. Change-Id: I88a3c3dd2ad87753cc056fb63c8bbabd546707ab Issue-ID: OPTFRA-343 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'config')
-rwxr-xr-xconfig/osdf_config.yaml2
-rwxr-xr-xconfig/preload_secrets.yaml18
2 files changed, 16 insertions, 4 deletions
diff --git a/config/osdf_config.yaml b/config/osdf_config.yaml
index c484fb4..b522919 100755
--- a/config/osdf_config.yaml
+++ b/config/osdf_config.yaml
@@ -68,7 +68,7 @@ aaf_user_roles:
# Secret Management Service from AAF
aaf_sms_url: https://aaf-sms.onap:10443
aaf_sms_timeout: 30
-secret_domain: osdf #Replace with the UUID
+secret_domain: osdf
aaf_ca_certs: ssl_certs/aaf_root_ca.cer
# config db api
diff --git a/config/preload_secrets.yaml b/config/preload_secrets.yaml
index 6e877e7..1d2ea01 100755
--- a/config/preload_secrets.yaml
+++ b/config/preload_secrets.yaml
@@ -9,11 +9,11 @@ secrets:
values:
UserName: admin1
Password: plan.15
-- name: policy_platform
+- name: policyPlatform
values:
UserName: testpdp
Password: alpha123
-- name: policy_client
+- name: policyClient
values:
UserName: python
Password: test
@@ -40,4 +40,16 @@ secrets:
- name: osdfCMScheduler
values:
UserName: test1
- Password: test_pwd1
+ Password: testpwd1
+- name: configDb
+ values:
+ UserName: osdf
+ Password: passwd
+- name: pciHMS
+ values:
+ UserName: ''
+ Password: ''
+- name: osdfPCIOpt
+ values:
+ UserName: pci_test
+ Password: pci_testpwd