It's possible this is an issue in barbican. Possibly this call: opaque_data.OpaqueData(secret_dto.secret)
needs to be changed to: opaque_data.OpaqueData(secret_dto.secret.encode('utf-8'))
https://github.com/openstack/barbican/blob/7.0.0/barbican/plugin/castellan_secret_store.py#L86
It's possible this is an issue in barbican. Possibly this call: data.OpaqueData (secret_ dto.secret)
opaque_
needs to be changed to: data.OpaqueData (secret_ dto.secret. encode( 'utf-8' ))
opaque_
https:/ /github. com/openstack/ barbican/ blob/7. 0.0/barbican/ plugin/ castellan_ secret_ store.py# L86