EncryptData method use internal Barbican endpoint
The yaql function, _encrypt_data, now specifies the Barbican endpoint type to be internal. This is necessary when TLS is enabled. Depends-on: Ic89519ed3a9c347a9fff245ec231aa575b42f1ac Change-Id: I6f10cb33185800c21eff54b1e4cb001f154362d3 Closes-Bug: #1768299
This commit is contained in:
parent
4dea571014
commit
0f5e41aff3
|
@ -142,6 +142,8 @@ def _encrypt_data(context, data):
|
|||
auth_token=auth.get_token(sess), tenant=auth.get_project_id(sess))
|
||||
options.set_defaults(cfg.CONF,
|
||||
auth_endpoint=settings.KEY_MANAGER['auth_url'])
|
||||
options.set_defaults(cfg.CONF,
|
||||
barbican_endpoint_type='internal')
|
||||
|
||||
manager = key_manager.API()
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue