Ask Your Question
1

Should X-Auth-Token be 4000 characters long?

asked 2013-06-18 09:06:28 -0600

Jobin gravatar image

updated 2013-06-18 23:29:13 -0600

The X-Auth-Token be a 4000 character string? The token I get by executing

curl -k -X 'POST' -v https://host:5443/v2.0/tokens -d '{"auth":{"passwordCredentials":{"username": "admin", "password":"openstack"}, "tenantName":"tenantName"}}' -H 'Content-type: application/json'

is

MIILnwYJKoZIhvcNAQcCoIILkDCCC4wCAQExCTAHBgUrDgMCGjCCCngGCSqGSIb3DQEHAaCCCmkEggpleyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNi0xOFQwNDoyNDozOS42ODA0MDIiLCAiZXhwaXJlcyI6ICIyMDEzLTA2LTE5VDA0OjI0OjM5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkRlZmF1bHQgVGVuYW50IiwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMjJmMjJmYjYwYmY4NDk2Y2I2MGU4NDk4ZDkzZDU2ZTgiLCAibmFtZSI6ICJkZW1vIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vbG9jYWxob3N0Ojg3NzQvdjEuMS8yMmYyMmZiNjBiZjg0OTZjYjYwZTg0OThkOTNkNTZlOCIsICJyZWdpb24iOiAiUmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly9sb2NhbGhvc3Q6ODc3NC92MS4xLzIyZjIyZmI2MGJmODQ5NmNiNjBlODQ5OGQ5M2Q1NmU4IiwgImlkIjogIjNhMDc1ZmJhMmU2MjQ4NGZiOWQxNzY5YjlkMzE0ZmQ5IiwgInB1YmxpY1VSTCI6ICJodHRwOi8vbG9jYWxob3N0Ojg3NzQvdjEuMS8yMmYyMmZiNjBiZjg0OTZjYjYwZTg0OThkOTNkNTZlOCJ9XSwgImVuZ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W5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovL2xvY2FsaG9zdDozNTM1Ny92Mi4wIiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovL2xvY2FsaG9zdDo1MDAwL3YyLjAiLCAiaWQiOiAiMDQ4ZjQ2YzFhM2YzNDBkMGJhNmMwMGQ2MTZiYjQ1YTciLCAicHVibGljVVJMIjogImh0dHA6Ly9sb2NhbGhvc3Q6NTAwMC92Mi4wIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImlkZW50aXR5IiwgIm5hbWUiOiAia2V5c3RvbmUifV0sICJ1c2VyIjogeyJ1c2VybmFtZSI6ICJhZG1pbiIsICJyb2xlc19saW5rcyI6IFtdLCAiaWQiOiAiOTI4NzZhMWFhZDNjNDc3Mzk4MTM3YjcwMmE4NDY3ZDMiLCAicm9sZXMiOiBbeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyI0OWEwOWRmODEyNGM0YWI2YTY2OTdkNmQwNzRkYTUyNyJdfX19MYH-MIH8AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVVuc2V0MQ4wDAYDVQQHEwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASBgMYhhoUT0h0+G8RsAz3qfS0UR-dlAjYEkVDVSsM+sg4CfsopBHzfVzRvLdhb86vDHruPn0ccJSMqrYYRB7m8fV4p-FU0zj-Ya3GCjdvmp+Wyyb4nOW4RGJP88Axvm6sHFBXBja5JTHLwQOkjA82JSYvUx6j08y7-9D6Bji-ZGBOC

Is this how the token should be or have I mis-configured ceilometer and/or keystone?

EDIT: The reason for my concern: PKI tokens vs UUID

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-06-18 09:44:32 -0600

Everything is fine with that.

edit flag offensive delete link more

Comments

Please have a look at my edit for the reason behind asking this question, sorry to have not posted this earlier.

Jobin gravatar imageJobin ( 2013-06-18 23:29:50 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-06-18 09:06:28 -0600

Seen: 176 times

Last updated: Jun 18 '13