From 11dbe76c38a9628fec4072a3b520ed02b3ccfac2 Mon Sep 17 00:00:00 2001 From: Dileep Ranganathan Date: Fri, 14 Sep 2018 11:29:39 -0700 Subject: Secret Management Service feature Added supporting library required for enabling SMS integration. Added Unit tests and manual tests for store/retrieve/delete secrets. Added AAF cacert, preload_secrets config for testing. Integration with application NOT Done in this patch. Change-Id: Ic2be41f825b327064127fbf83f9e1057a68f19c2 Issue-ID: OPTFRA-343 Signed-off-by: Dileep Ranganathan --- config/osdf_config.yaml | 6 ++++++ config/preload_secrets.yaml | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100755 config/preload_secrets.yaml (limited to 'config') diff --git a/config/osdf_config.yaml b/config/osdf_config.yaml index 022104d..4ef11f8 100755 --- a/config/osdf_config.yaml +++ b/config/osdf_config.yaml @@ -50,3 +50,9 @@ aaf_cache_expiry_hrs: 3 aaf_url: https://aaftest.simpledemo.onap.org:8095 aaf_user_roles: - /api/oof/v1/placement:org.onap.osdf.access|*|read ALL + +# Secret Management Service from AAF +aaf_sms_url: https://aaf-sms.onap:10443 +aaf_sms_timeout: 30 +secret_domain: osdf #Replace with the UUID +aaf_ca_certs: ssl_certs/aaf_root_ca.cer diff --git a/config/preload_secrets.yaml b/config/preload_secrets.yaml new file mode 100755 index 0000000..6e877e7 --- /dev/null +++ b/config/preload_secrets.yaml @@ -0,0 +1,43 @@ +--- +domain: osdf +secrets: +- name: so + values: + UserName: '' + Password: '' +- name: conductor + values: + UserName: admin1 + Password: plan.15 +- name: policy_platform + values: + UserName: testpdp + Password: alpha123 +- name: policy_client + values: + UserName: python + Password: test +- name: dmaap + values: + UserName: NA + Password: NA +- name: sdc + values: + UserName: NA + Password: NA +- name: osdfPlacement + values: + UserName: test + Password: testpwd +- name: osdfPlacementSO + values: + UserName: so_test + Password: so_testpwd +- name: osdfPlacementVFC + values: + UserName: vfc_test + Password: vfc_testpwd +- name: osdfCMScheduler + values: + UserName: test1 + Password: test_pwd1 -- cgit 1.2.3-korg