How to get X-Auth-Token in swift under keystone?

asked 2014-10-31 11:27:58 -0600

ebyenjoys gravatar image


I am trying to get the X-Auth-Token from my working cluster of swift. I have followed

I have executed the command as follows in my snapshot.image description

I did got a 200 response. But i am not sure the token id i have received is too long to use with curl command. Is this the ID that i should use as X-Auth-Token.

Kindly en light me on the same and the help is highly appreciated..!

Thank You

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-10-31 12:23:53 -0600

Yes you got the Token. That is in JSON format. Value for the attribute id is the token that you are searching for.

edit flag offensive delete link more


Thank You :)

ebyenjoys gravatar imageebyenjoys ( 2014-10-31 22:42:43 -0600 )edit

answered 2014-10-31 11:50:08 -0600

Yes. That is the ID. The ID is long since the token format configured is PKI. If you are using latest Juno, then the default token format is UUID, which will be short

edit flag offensive delete link more


Thanks a lot. I will test juno soon, :)

ebyenjoys gravatar imageebyenjoys ( 2014-10-31 22:43:12 -0600 )edit

Is it possible to use the long id that instead of X-Auth-Token.

ebyenjoys gravatar imageebyenjoys ( 2014-11-01 03:09:36 -0600 )edit

Long ID is X-Auth-Token value

Haneef Ali gravatar imageHaneef Ali ( 2014-11-01 11:45:53 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-31 11:27:58 -0600

Seen: 1,317 times

Last updated: Oct 31 '14