diff options
author | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2018-09-27 08:06:26 -0700 |
---|---|---|
committer | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2018-10-08 03:21:43 -0700 |
commit | fa9960690db89b0695c266abdb9009e2331f6f3c (patch) | |
tree | ba2946805cc2b6e9c8b31767909002e15b371743 /osdfapp.py | |
parent | 9d5af7d79a3c32099da70c512d35fa2662812b7a (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 'osdfapp.py')
-rwxr-xr-x | osdfapp.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -207,6 +207,8 @@ if __name__ == "__main__": common_app_opts.update({'ssl_context': tuple(ssl_opts)}) opts = get_options(sys.argv) + # TODO(Dileep): Uncomment once Helm charts to preload secrets available + # sms.load_secrets() if not opts.local and not opts.devtest: # normal deployment app.run(port=internal_port, debug=False, **common_app_opts) else: |