[openstack-dev] [barbican] Preferred approach to upload binary secrets

John Wood john.wood at RACKSPACE.COM
Thu May 9 20:10:45 UTC 2013


The Barbican API supports uploading text-based secrets, but we would also like to support uploading secrets in binary form as well. 

A simple approach is to support an 'application/octet-stream' secret type, with any information uploaded to a secret via PUT (with 'Content-Type' set to 'application/octet-stream') encrypted and saved in a BLOB. A GET request with the 'Accept' set to 'application/octet-stream' would then retrieve this data. 

Should we also (or instead of) consider a 'multipart/form-data' approach to posting secrets? 

Thanks,
John

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list