Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to authenticate with keystone V3 for Barbican curl command

Hi All,

I getting the "Authentication required" error when I am executing the curl command to create secret.
bash-4.2$ curl -X POST -H 'content-type:application/json' -H 'X-Project-Id:12345' -d '{"payload": "my-secret-here","payloadcontenttype": "text/plain"}' http://localhost:9311/v1/secrets Authentication required bash-4.2$

Can you please help me how you have solved this problem. I have installed the barbican using openstack and I am using the safenet HSM for MKEK and HMAC and it generated successfully on HSM partition.
Please help me to resolve this issue.
Thanks, Arif