Hello Henar,
1)
We did the POST request with
URL: http://cloud.lab.fi-ware.org:4731/v2.0/tokens
Headers: Accept: text/plain
Content-Type: application/json
and
Payload:
{
"auth":{
"passwordCredentials":
{
"username":"admin-c4i",
"password":"XXX"
}
,
"tenantName":"admin"
}
}
and we are able to retrieve the token-id, which in our opinion in the following piece of text is the "id". Is our assumption correct?
token": {
"issued_at": "2016-03-18T11:03:43.029503"
"expires": "2016-03-19T11:03:42Z"
"id": "79c846445c524c56bc608c35c93ab12c"
2) Now, we are doing in this url: http://aiakos.lab.fiware.org:3000/v1/support/
a POST request with
Headers:
X-Auth-Token: 79c846445c524c56bc608c35c93ab12c
Accept: text/plain
Content-Type: text/plain
and Payload a key that was generated by puttygen and is this one:
AAAAB3NzaC1yc2EAAAADAQABAAABAQC3wWf8ENv1+USgRh0x9EvlczhbOoqfHGXR
zV1rlkE0I61HM6D6QY3edTGoQLsKyk1QTSo954q/ULBP7KY2/7YucTaDOsJgS0Ff
Yxnhs5faljmrccApyD1a09rMv9OtCQHdLRpnM3WoyiApIIXBXvpxX4gC6yZVXnCw
7TcKkFejyeWUsWIsf1PaNKuG8CAKtwQah4L81VrhGGr8vCh8wjreIJCEUV73alcJ
y5FaxbeasBs5GGlgP4vedzLxsbQpiK3kl/P/gNVPzdGKprjst9urb/k36v82cXy+
jGQ2HCYGqCSFw6kOXuURrmEjkk0Sk2WSH7hhBGMENHgMf8vY3IFB
and we get as a Response 400 Bad Request with reason : Error: invalid key
Could you tell us please what is wrong in the whole procedure that we did?
Best regards,
Sophia Antipolis Team
HI
I think it has not been uploaded. I can see that I cannot obtain the public key with http://aiakos.lab.fiware.org:3000/v1/support/SophiaAntipolis/sshkey
Please, have you had any problem to upload the keys?
regards,
Henar