Openstack Keystone How to use RESTClient Plugin Firefox Google Chrome
http://adam.younglogic.com/2013/09/keystone-v3-api-examples/
https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3.md
URL
===
http://192.168.56.101:5000/v3
Request Headers
================
1)
X-Auth-Token : tokentoken
* You can find the your admin token from /etc/keystone/keystone.conf
admin_token = tokentoken
2)
Content-type : application/json
3)
X-Subject-Token: 0a182214a5204e1a9d63185362b611a8
Examples
========
1)
url
----
http://192.168.56.101:5000/v3/auth/tokens
headers
-------
Content-type : application/json
method
------
POST
body
-----
{
"auth": {
"identity": {
"methods": [
"password"
],
"password": {
"user": {
"name": "admin",
"password": "password",
"domain": {
"name":"Default"
}
}
}
}
}
}
2)
https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3.md#validate-token-get-authtokens
http://adam.younglogic.com/2013/09/keystone-v3-api-examples/
https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3.md
URL
===
http://192.168.56.101:5000/v3
Request Headers
================
1)
X-Auth-Token : tokentoken
* You can find the your admin token from /etc/keystone/keystone.conf
admin_token = tokentoken
2)
Content-type : application/json
3)
X-Subject-Token: 0a182214a5204e1a9d63185362b611a8
Examples
========
1)
url
----
http://192.168.56.101:5000/v3/auth/tokens
headers
-------
Content-type : application/json
method
------
POST
body
-----
{
"auth": {
"identity": {
"methods": [
"password"
],
"password": {
"user": {
"name": "admin",
"password": "password",
"domain": {
"name":"Default"
}
}
}
}
}
}
2)
https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3.md#validate-token-get-authtokens
No comments:
Post a Comment