Ask Your Question

Unable to authenticate with keystone V3 for Barbican curl command

asked 2015-10-21 04:02:40 -0500

marif82 gravatar image

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-26 01:18:21 -0500

You need to add X-Auth-Token . And You can get it from keystone.

edit flag offensive delete link more


Hi Wang,

Can you please assist me how do we get X-Auth-Token from keystone.

marif82 gravatar imagemarif82 ( 2015-12-18 04:56:01 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-10-21 04:02:40 -0500

Seen: 128 times

Last updated: Oct 21 '15