Untitled Diff

Created Diff never expires
9 removals
39 lines
10 additions
39 lines
curl -i -H "Content-Type: application/json" -d '
curl -i -H "Content-Type: application/json" -d '
{
{
"auth": {
"auth": {
"identity": {
"identity": {
"methods": [
"methods": [
"password"
"password"
],
],
"password": {
"password": {
"user": {
"user": {
"domain": {
"domain": {
"id": "default"
"id": "default"
},
},
"name": "admin",
"name": "swift",
"password": "123456"
"password": "123456"
}
}
}
}
},
},
"scope": {
"scope": {
"project": {
"project": {
"domain": {
"domain": {
"id": "default"
"id": "default"
},
},
"name": "service"
"name": "service"
}
}
}
}
}
}
}' "http://controller-1:5000/v3/auth/tokens" ; echo
}' "http://controller-1:5000/v3/auth/tokens" ; echo
HTTP/1.1 401 Unauthorized
HTTP/1.1 201 Created
Date: Mon, 10 Feb 2020 08:42:01 GMT
Date: Mon, 10 Feb 2020 08:40:47 GMT
Server: Apache/2.4.18 (Ubuntu)
Server: Apache/2.4.18 (Ubuntu)
X-Subject-Token: gAAAAABeQRcPH5dJIGd64eCdXvOZkBrXKQ6kQPQnLCIBDI9JnZ-dGkLoBGWf16DRtWwrr5frVDn5cy8U3y41lrMMmaqjXXEDf3eHaj19R25s2L7ON49n6OC5UrArUTfTquiz75domDPCNw--PxZLdTuOfk4VSbNn3dLdK-8kYEKJUa88F37kwhk
Vary: X-Auth-Token
Vary: X-Auth-Token
X-Distribution: Ubuntu
X-Distribution: Ubuntu
x-openstack-request-id: req-22196dd0-2e66-44df-957d-de743454b6e0
x-openstack-request-id: req-9326550a-79a3-468d-826f-55882d9a0b70
WWW-Authenticate: Keystone uri="http://controller-1:5000"
Content-Length: 1743
Content-Length: 114
Content-Type: application/json
Content-Type: application/json


{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "cf8c6e220a7d4b8eb318d93c0a5ad3e0", "name": "admin"}], "expires_at": "2020-02-10T09:40:47.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "506fb05af2e4452296da9929aa88fe38", "name": "service"}, "catalog": [{"endpoints": [{"region_id": "RegionOne", "url": "http://controller-1:5000/v3/", "region": "RegionOne", "interface": "admin", "id": "2d3875e9f7ca48a89286b8d0868cff7f"}, {"region_id": "RegionOne", "url": "http://controller-1:5000/v3/", "region": "RegionOne", "interface": "public", "id": "31d7da168d674e978a80a9293c892ec1"}, {"region_id": "RegionOne", "url": "http://controller-1:5000/v3/", "region": "RegionOne", "interface": "internal", "id": "b07007bd01be44eb9a66091ec32648ea"}], "type": "identity", "id": "078d7e97764849d7a75806200994923b", "name": "keystone"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://controller-1:8080/v1/AUTH_506fb05af2e4452296da9929aa88fe38", "region": "RegionOne", "interface": "public", "id": "c585b1e70d1c4640ab4aee5b9b45ffd6"}, {"region_id": "RegionOne", "url": "http://controller-1:8080/v1/AUTH_506fb05af2e4452296da9929aa88fe38", "region": "RegionOne", "interface": "internal", "id": "dd8812ceecc64363934fff78d2fe242b"}, {"region_id": "RegionOne", "url": "http://controller-1:8080/v1", "region": "RegionOne", "interface": "admin", "id": "e1a1fe2b45f24cf3a177b92cdbf6fbb6"}], "type": "object-store", "id": "f34be7a06b1d4bee8e73f6db44c5842f", "name": "swift"}], "user": {"password_expires_at": null, "domain": {"id": "default", "name": "Default"}, "id": "382b55ffe8d54108992359c8030839c6", "name": "swift"}, "audit_ids": ["zQ4hGPfASAqvOl9MHcKcXw"], "issued_at": "2020-02-10T08:40:47.000000Z"}}