Hi Arif--
Are you using Keystone for authentication?
If so, you need to get an authentication token from Keystone and add it as
a header to your curl command: -H "X-Auth-Token:$TOKEN".
You do not need to specify the project ID (-H 'X-Project-Id:12345'). The
project ID will be based on your Keystone user's project ID.
--Dave
From: OpenStack Mailing List Archive <[email protected]<mailto:[email protected]>>
Reply-To:
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Date: Wednesday, October 21, 2015 at 3:11 AM
To:
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: [openstack-dev]
openstack-barbican-authenticate-keystone-barbican-command
Link: https://openstack.nimeyo.com/62868/?show=62868#q62868
From: marif82 <[email protected]<mailto:[email protected]>>
Hi Asha,
I am also getting the same 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 requiredbash-4.2$
Can you please help me how you have solved this problem. 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 & Regards,
Arif
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev