<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 255); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hello Asha,</div>
<div><br>
</div>
<div>We are in the process of migrating our documentation to Sphinx, so I’d suggest following this link for Keystone configuration options [1].</div>
<div><br>
</div>
<div>I’d also note that a CR is pending with a bit more details to setup via a Docker Keystone here [2].</div>
<div><br>
</div>
<div>Thanks,</div>
<div>John</div>
<div><br>
</div>
<div><br>
</div>
<div>[1]  <a href="http://docs.openstack.org/developer/barbican/setup/keystone.html">http://docs.openstack.org/developer/barbican/setup/keystone.html</a></div>
<div>[2]  <a href="https://review.openstack.org/#/c/169114/">https://review.openstack.org/#/c/169114/</a></div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Asha Seshagiri <<a href="mailto:asha.seshagiri@gmail.com">asha.seshagiri@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, April 7, 2015 at 1:34 PM<br>
<span style="font-weight:bold">To: </span>openstack-dev <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Cc: </span>John Wood <<a href="mailto:john.wood@rackspace.com">john.wood@rackspace.com</a>>, "Reller, Nathan S." <<a href="mailto:Nathan.Reller@jhuapl.edu">Nathan.Reller@jhuapl.edu</a>>, Douglas Mendizabal <<a href="mailto:douglas.mendizabal@RACKSPACE.COM">douglas.mendizabal@RACKSPACE.COM</a>>,
 "<a href="mailto:alee@redhat.com">alee@redhat.com</a>" <<a href="mailto:alee@redhat.com">alee@redhat.com</a>>, Paul Kehrer <<a href="mailto:paul.kehrer@RACKSPACE.COM">paul.kehrer@RACKSPACE.COM</a>>, Adam Harwell <<a href="mailto:adam.harwell@RACKSPACE.COM">adam.harwell@RACKSPACE.COM</a>>,
 Alexis Lee <<a href="mailto:alexisl@hp.com">alexisl@hp.com</a>><br>
<span style="font-weight:bold">Subject: </span>Barbican : Unable to authenticate with keystone V3 for Barbican curl command<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi All ,
<div><br>
</div>
<div>Could anyone please help me on this integration issue.</div>
<div>I am unable to authenticate with keystone V3  for Barbican curl command   .I have followed the procedure given in the following link :</div>
<div><br>
</div>
<div><a href="https://github.com/cloudkeep/barbican/wiki/Integration-with-Keystone-V3-API">https://github.com/cloudkeep/barbican/wiki/Integration-with-Keystone-V3-API</a></div>
<div><br>
</div>
<div>I was unable to authenticate with the keystone V3 even though the right token was provided in the curl command </div>
<div>Please find the command to get the token and the curl command to post the secret .</div>
<div><br>
</div>
<div>[root@keystone-versiontest ~]# openstack --insecure token issue <b>(Command to get token from keystone v3)</b></div>
<div>
<div>+------------+----------------------------------+</div>
<div>| Field      | Value                            |</div>
<div>+------------+----------------------------------+</div>
<div>| expires    | 2015-04-07T18:26:13.835641Z      |</div>
<div>|<b> id         | f28b93f27cce4bc09f9ac50d84bde736 |</b></div>
<div>| project_id | 9d37f9ecc481422aa8ab53674cb82410 |</div>
<div>| user_id    | e7d02ed8e7e64b01a1d66bb86ffa90d8 |</div>
<div>+------------+----------------------------------+</div>
<div><br>
</div>
<div>[root@keystone-versiontest ~]# curl -X POST -H 'content-type:application/json' -H 'X-Project-Id:12345' \</div>
<div>> -H "X-Auth-Token:<b>f28b93f27cce4bc09f9ac50d84bde736</b>" -d '{"payload": "my-secret-here", "payload_content_type": "text/plain"}'
<a href="http://localhost:9311/v1/secrets">http://localhost:9311/v1/secrets</a></div>
<div><b>Authentication required</b>[root@keystone-versiontest ~]#</div>
</div>
<div><br>
</div>
<div>The contents of the admin.opensrc file is as given below :</div>
<div><br>
</div>
<div>
<div>[root@keystone-versiontest ~]# cat admin.openrc</div>
<div>export OS_USERNAME=admin</div>
<div>export OS_TENANT_NAME=admin</div>
<div>export OS_PASSWORD=admin</div>
<div>export OS_AUTH_URL=<a href="https://169.54.204.69:35357/v3">https://169.54.204.69:35357/v3</a></div>
<div>export OS_REGION_NAME=RegionOne</div>
<div>export OS_IDENTITY_API_VERSION=3</div>
<div>export OS_USER_DOMAIN_ID=default</div>
<div>export OS_PROJECT_DOMAIN_ID=default</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div>And also I have attached the  barbican-api-paste.ini and barbican-admin-paste.ini files.</div>
<div><br>
</div>
<div>I would like to know why the curl command for posting the secret is not geting authenticated with Keystone V3</div>
<div><br>
</div>
<div>Any help would highly be appreciated. </div>
<div>-- <br>
</div>
<div>
<div class="gmail_signature">
<div><em>Thanks and Regards,</em></div>
<div><em>Asha Seshagiri</em></div>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>