Gets detailed information about a specified version of the Identity API.
{
"version": {
"status": "stable",
"updated": "2014-04-17T00:00:00Z",
"media-types": [
{
"base": "application/json",
"type": "application/vnd.openstack.identity-v2.0+json"
},
{
"base": "application/xml",
"type": "application/vnd.openstack.identity-v2.0+xml"
}
],
"id": "v2.0",
"links": [
{
"href": "http://23.253.228.211:5000/v2.0/",
"rel": "self"
},
{
"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/content/",
"type": "text/html",
"rel": "describedby"
},
{
"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf",
"type": "application/pdf",
"rel": "describedby"
}
]
}
}
<?xml version="1.0" encoding="UTF-8"?>
<version xmlns="http://docs.openstack.org/identity/api/v2.0"
status="stable" updated="2013-03-06T00:00:00Z" id="v2.0">
<media-types>
<media-type base="application/json"
type="application/vnd.openstack.identity-v2.0+json"/>
<media-type base="application/xml"
type="application/vnd.openstack.identity-v2.0+xml"/>
</media-types>
<links>
<link href="http://localhost:5000/v2.0/" rel="self"/>
<link
href="http://docs.openstack.org/api/openstack-identity-service/2.0/content/"
type="text/html" rel="describedby"/>
<link
href="http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf"
type="application/pdf" rel="describedby"/>
</links>
</version>
Lists supported extensions.
Lists available extensions.
{
"extensions": {
"values": [
{
"updated": "2013-07-07T12:00:0-00:00",
"name": "OpenStack S3 API",
"links": [
{
"href": "https://github.com/openstack/identity-api",
"type": "text/html",
"rel": "describedby"
}
],
"namespace": "http://docs.openstack.org/identity/api/ext/s3tokens/v1.0",
"alias": "s3tokens",
"description": "OpenStack S3 API."
},
{
"updated": "2013-07-23T12:00:0-00:00",
"name": "OpenStack Keystone Endpoint Filter API",
"links": [
{
"href": "https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3-os-ep-filter-ext.md",
"type": "text/html",
"rel": "describedby"
}
],
"namespace": "http://docs.openstack.org/identity/api/ext/OS-EP-FILTER/v1.0",
"alias": "OS-EP-FILTER",
"description": "OpenStack Keystone Endpoint Filter API."
},
{
"updated": "2013-12-17T12:00:0-00:00",
"name": "OpenStack Federation APIs",
"links": [
{
"href": "https://github.com/openstack/identity-api",
"type": "text/html",
"rel": "describedby"
}
],
"namespace": "http://docs.openstack.org/identity/api/ext/OS-FEDERATION/v1.0",
"alias": "OS-FEDERATION",
"description": "OpenStack Identity Providers Mechanism."
},
{
"updated": "2013-07-11T17:14:00-00:00",
"name": "OpenStack Keystone Admin",
"links": [
{
"href": "https://github.com/openstack/identity-api",
"type": "text/html",
"rel": "describedby"
}
],
"namespace": "http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0",
"alias": "OS-KSADM",
"description": "OpenStack extensions to Keystone v2.0 API enabling Administrative Operations."
},
{
"updated": "2014-01-20T12:00:0-00:00",
"name": "OpenStack Simple Certificate API",
"links": [
{
"href": "https://github.com/openstack/identity-api",
"type": "text/html",
"rel": "describedby"
}
],
"namespace": "http://docs.openstack.org/identity/api/ext/OS-SIMPLE-CERT/v1.0",
"alias": "OS-SIMPLE-CERT",
"description": "OpenStack simple certificate retrieval extension"
},
{
"updated": "2013-07-07T12:00:0-00:00",
"name": "OpenStack EC2 API",
"links": [
{
"href": "https://github.com/openstack/identity-api",
"type": "text/html",
"rel": "describedby"
}
],
"namespace": "http://docs.openstack.org/identity/api/ext/OS-EC2/v1.0",
"alias": "OS-EC2",
"description": "OpenStack EC2 Credentials backend."
}
]
}
}
<?xml version="1.0" encoding="UTF-8"?>
<extensions xmlns="http://docs.openstack.org/common/api/v1.0"
xmlns:atom="http://www.w3.org/2005/Atom"/>
Moves to the next item in the list.
Moves to the previous item in the list.
The extension name.
Gets detailed information for a specified extension.
Specify the extension alias in the URI.
{
"extension": {
"updated": "2013-07-07T12:00:0-00:00",
"name": "OpenStack S3 API",
"links": [
{
"href": "https://github.com/openstack/identity-api",
"type": "text/html",
"rel": "describedby"
}
],
"namespace": "http://docs.openstack.org/identity/api/ext/s3tokens/v1.0",
"alias": "s3tokens",
"description": "OpenStack S3 API."
}
}
<?xml version="1.0" encoding="UTF-8"?>
<extension xmlns="http://docs.openstack.org/common/api/v1.0"
xmlns:atom="http://www.w3.org/2005/Atom"
name="User Metadata Extension"
namespace="http://docs.rackspacecloud.com/identity/api/ext/meta/v2.0"
alias="RS-META" updated="2011-01-12T11:22:33-06:00">
<description>Allows associating arbitrary metadata with a
user.</description>
<atom:link rel="describedby" type="application/pdf"
href="http://docs.rackspacecloud.com/identity/api/ext/identity-meta-20111201.pdf"/>
<atom:link rel="describedby" type="application/vnd.sun.wadl+xml"
href="http://docs.rackspacecloud.com/identity/api/ext/identity-meta.wadl"
/>
</extension>
Authenticates and generates a token.
Client authentication is provided through a ReST interface by using the POST
method with v2.0/tokens supplied as the path. Include a payload of credentials in
the body.
The Identity API is a ReSTful web service. It is the entry point to all service
APIs. To access the Identity API, you must know its URL.
Each ReST request against the Identity Service requires the
X-Auth-Token
header. Clients obtain this token, along with the URL
to other service APIs, by first authenticating against Identity with valid
credentials.
If the authentication token has expired, a 401 response
code is returned.
If the token specified in the request body has expired, this call returns a
404 response code.
Identity treats expired tokens as invalid tokens.
The deployment determines how long expired tokens are stored.
{
"auth": {
"tenantName": "admin",
"passwordCredentials": {
"username": "admin",
"password": "secretsecret"
}
}
}
<?xml version="1.0" encoding="UTF-8"?>
<auth xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://docs.openstack.org/identity/api/v2.0"
tenantName="admin">
<passwordCredentials username="admin" password="secretsecret"/>
</auth>
The tenant name. Both the
tenantId
and tenantName
attributes are
optional, but should not be specified together. If both attributes are
specified, the server responds with a 400
Bad Request
.
The tenant ID. Both the
tenantId
and tenantName
attributes are
optional, but should not be specified together. If both attributes are
specified, the server responds with a 400
Bad Request
.
A
passwordCredentials
object. To authenticate, you must
provide either a user ID and password or a token.
The user name. Required if
you include the passwordCredentials
object. If you do not
provide a password credentials, you must provide a
token.
The password of the user.
Required if you include the passwordCredentials
object. If
you do not provide a password credentials, you must provide a
token.
A token
object. Required if you do not provide password
credentials.
The token ID. This is a
required field in the token
object.
{
"auth": {
"tenantName": "demo",
"token": {
"id": "cbc36478b0bd8e67e89469c7749d4127"
}
}
}
<?xml version="1.0" encoding="UTF-8"?>
<auth xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://docs.openstack.org/identity/api/v2.0"
tenantName="demo">
<token id="cbc36478b0bd8e67e89469c7749d4127"/>
</auth>
{
"access": {
"token": {
"issued_at": "2014-01-30T17:09:57.647795",
"expires": "2014-01-31T17:09:57Z",
"id": "admin_id",
"tenant": {
"description": null,
"enabled": true,
"id": "73f0aa26640f4971864919d0eb0f0880",
"name": "admin"
}
},
"serviceCatalog": [
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:8774/v2/73f0aa26640f4971864919d0eb0f0880",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:8774/v2/73f0aa26640f4971864919d0eb0f0880",
"id": "2dad48f09e2a447a9bf852bcd93548ef",
"publicURL": "http://23.253.72.207:8774/v2/73f0aa26640f4971864919d0eb0f0880"
}
],
"endpoints_links": [],
"type": "compute",
"name": "nova"
},
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:9696/",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:9696/",
"id": "97c526db8d7a4c88bbb8d68db1bdcdb8",
"publicURL": "http://23.253.72.207:9696/"
}
],
"endpoints_links": [],
"type": "network",
"name": "neutron"
},
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:8776/v2/73f0aa26640f4971864919d0eb0f0880",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:8776/v2/73f0aa26640f4971864919d0eb0f0880",
"id": "93f86dfcbba143a39a33d0c2cd424870",
"publicURL": "http://23.253.72.207:8776/v2/73f0aa26640f4971864919d0eb0f0880"
}
],
"endpoints_links": [],
"type": "volumev2",
"name": "cinder"
},
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:8774/v3",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:8774/v3",
"id": "3eb274b12b1d47b2abc536038d87339e",
"publicURL": "http://23.253.72.207:8774/v3"
}
],
"endpoints_links": [],
"type": "computev3",
"name": "nova"
},
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:3333",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:3333",
"id": "957f1e54afc64d33a62099faa5e980a2",
"publicURL": "http://23.253.72.207:3333"
}
],
"endpoints_links": [],
"type": "s3",
"name": "s3"
},
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:9292",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:9292",
"id": "27d5749f36864c7d96bebf84a5ec9767",
"publicURL": "http://23.253.72.207:9292"
}
],
"endpoints_links": [],
"type": "image",
"name": "glance"
},
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:8776/v1/73f0aa26640f4971864919d0eb0f0880",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:8776/v1/73f0aa26640f4971864919d0eb0f0880",
"id": "37c83a2157f944f1972e74658aa0b139",
"publicURL": "http://23.253.72.207:8776/v1/73f0aa26640f4971864919d0eb0f0880"
}
],
"endpoints_links": [],
"type": "volume",
"name": "cinder"
},
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:8773/services/Admin",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:8773/services/Cloud",
"id": "289b59289d6048e2912b327e5d3240ca",
"publicURL": "http://23.253.72.207:8773/services/Cloud"
}
],
"endpoints_links": [],
"type": "ec2",
"name": "ec2"
},
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:8080",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:8080/v1/AUTH_73f0aa26640f4971864919d0eb0f0880",
"id": "16b76b5e5b7d48039a6e4cc3129545f3",
"publicURL": "http://23.253.72.207:8080/v1/AUTH_73f0aa26640f4971864919d0eb0f0880"
}
],
"endpoints_links": [],
"type": "object-store",
"name": "swift"
},
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:35357/v2.0",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:5000/v2.0",
"id": "26af053673df4ef3a2340c4239e21ea2",
"publicURL": "http://23.253.72.207:5000/v2.0"
}
],
"endpoints_links": [],
"type": "identity",
"name": "keystone"
}
],
"user": {
"username": "admin",
"roles_links": [],
"id": "1f568815cb8148688e6ee9b2f7527dcc",
"roles": [
{
"name": "service"
},
{
"name": "admin"
}
],
"name": "admin"
},
"metadata": {
"is_admin": 0,
"roles": [
"8341d3603a1d4d5985bff09f10704d4d",
"2e66d57df76946fdbe034bc4da6fdec0"
]
}
}
}
<?xml version="1.0" encoding="UTF-8"?>
<access xmlns="http://docs.openstack.org/identity/api/v2.0">
<token issued_at="2014-01-30T15:49:11.054709"
expires="2014-01-31T15:49:11Z" id="admin_id">
<tenant enabled="true" name="admin"
id="fc394f2ab2df4114bde39905f800dc57"/>
</token>
<serviceCatalog>
<service type="compute" name="nova">
<endpoints_links/>
<endpoint
adminURL="http://23.253.72.207:8774/v2/fc394f2ab2df4114bde39905f800dc57"
region="RegionOne"
publicURL="http://23.253.72.207:8774/v2/fc394f2ab2df4114bde39905f800dc57"
internalURL="http://23.253.72.207:8774/v2/fc394f2ab2df4114bde39905f800dc57"
id="2dad48f09e2a447a9bf852bcd93548ef"
/>
</service>
<service type="network" name="neutron">
<endpoints_links/>
<endpoint
adminURL="http://23.253.72.207:9696/"
region="RegionOne"
publicURL="http://23.253.72.207:9696/"
internalURL="http://23.253.72.207:9696/"
id="97c526db8d7a4c88bbb8d68db1bdcdb8"
/>
</service>
<service type="volumev2" name="cinder">
<endpoints_links/>
<endpoint
adminURL="http://23.253.72.207:8776/v2/fc394f2ab2df4114bde39905f800dc57"
region="RegionOne"
publicURL="http://23.253.72.207:8776/v2/fc394f2ab2df4114bde39905f800dc57"
internalURL="http://23.253.72.207:8776/v2/fc394f2ab2df4114bde39905f800dc57"
id="93f86dfcbba143a39a33d0c2cd424870"
/>
</service>
<service type="computev3" name="nova">
<endpoints_links/>
<endpoint
adminURL="http://23.253.72.207:8774/v3"
region="RegionOne"
publicURL="http://23.253.72.207:8774/v3"
internalURL="http://23.253.72.207:8774/v3"
id="3eb274b12b1d47b2abc536038d87339e"
/>
</service>
<service type="s3" name="s3">
<endpoints_links/>
<endpoint adminURL="http://23.253.72.207:3333"
region="RegionOne"
publicURL="http://23.253.72.207:3333"
internalURL="http://23.253.72.207:3333"
id="957f1e54afc64d33a62099faa5e980a2"
/>
</service>
<service type="image" name="glance">
<endpoints_links/>
<endpoint adminURL="http://23.253.72.207:9292"
region="RegionOne"
publicURL="http://23.253.72.207:9292"
internalURL="http://23.253.72.207:9292"
id="27d5749f36864c7d96bebf84a5ec9767"
/>
</service>
<service type="volume" name="cinder">
<endpoints_links/>
<endpoint
adminURL="http://23.253.72.207:8776/v1/fc394f2ab2df4114bde39905f800dc57"
region="RegionOne"
publicURL="http://23.253.72.207:8776/v1/fc394f2ab2df4114bde39905f800dc57"
internalURL="http://23.253.72.207:8776/v1/fc394f2ab2df4114bde39905f800dc57"
id="37c83a2157f944f1972e74658aa0b139"
/>
</service>
<service type="ec2" name="ec2">
<endpoints_links/>
<endpoint
adminURL="http://23.253.72.207:8773/services/Admin"
region="RegionOne"
publicURL="http://23.253.72.207:8773/services/Cloud"
internalURL="http://23.253.72.207:8773/services/Cloud"
id="289b59289d6048e2912b327e5d3240ca"
/>
</service>
<service type="object-store" name="swift">
<endpoints_links/>
<endpoint adminURL="http://23.253.72.207:8080"
region="RegionOne"
publicURL="http://23.253.72.207:8080/v1/AUTH_fc394f2ab2df4114bde39905f800dc57"
internalURL="http://23.253.72.207:8080/v1/AUTH_fc394f2ab2df4114bde39905f800dc57"
id="16b76b5e5b7d48039a6e4cc3129545f3"
/>
</service>
<service type="identity" name="keystone">
<endpoints_links/>
<endpoint
adminURL="http://23.253.72.207:35357/v2.0"
region="RegionOne"
publicURL="http://23.253.72.207:5000/v2.0"
internalURL="http://23.253.72.207:5000/v2.0"
id="26af053673df4ef3a2340c4239e21ea2"
/>
</service>
</serviceCatalog>
<user username="admin" id="9a6590b2ab024747bc2167c4e064d00d"
name="admin">
<roles_links/>
<role name="Member"/>
<role name="anotherrole"/>
</user>
<metadata is_admin="0">
<roles>
<role>7598ac3c634d4c3da4b9126a5f67ca2b</role>
<role>f95c0ab82d6045d9805033ee1fbc80d4</role>
</roles>
</metadata>
</access>
An access
object.
A token
object.
A timestamp that indicates
when the token was issued.
A timestamp that indicates
when the token expires.
The authentication token.
In the example, the token is my_id
.
A tenant
object.
The description of the
tenant. If not set, this value is null
.
Indicates whether the
tenant is enabled or disabled.
The tenant
ID.
The tenant
name.
A
serviceCatalog
object.
One or more
endpoints
objects. Each object shows the
adminURL
, region
,
internalURL
, id
, and publicURL
for the endpoint.
Links for the
endpoint.
Endpoint
type.
Endpoint
name.
A user
object, which shows the username
, roles_links
,
id
, roles
, and
name
.
A metadata
object.
Required. The
token ID.
Validates that a token has the specified tenant in scope, for
performance. Valid tokens are in the /tokens/{tokenId}
path. An itemNotFound (404
) fault is returned for a
token that is not valid.
Validates a token and confirms that it belongs to a specified
tenant.
Returns the permissions relevant to a particular client. Valid tokens are in the
/tokens/{tokenId}
path. A user should expect an itemNotFound
(404
) fault for an token that is not valid.
{
"access":{
"token":{
"id":"ab48a9efdfedb23ty3494",
"expires":"2010-11-01T03:32:15-05:00",
"tenant":{
"id":"345",
"name":"My Project"
}
},
"user":{
"id":"123",
"name":"jqsmith",
"roles":[
{
"id":"234",
"name":"compute:admin"
},
{
"id":"234",
"name":"object-store:admin",
"tenantId":"1"
}
],
"roles_links":[
]
}
}
}
<?xml version="1.0" encoding="UTF-8"?>
<access xmlns="http://docs.openstack.org/identity/api/v2.0">
<token id="ab48a9efdfedb23ty3494"
expires="2010-11-01T03:32:15-05:00">
<tenant id="456" name="My Project"/>
</token>
<user id="123" username="jqsmith">
<roles
xmlns="http://docs.openstack.org/identity/api/v2.0">
<role id="123" name="Admin" tenantId="one"/>
<role id="234" name="object-store:admin"
tenantId="1"/>
</roles>
</user>
</access>
Validates a token and confirms that it belongs to a specified
tenant, for performance.
Required. The
token ID.
Lists the endpoints associated with a specified token.
{
"endpoints_links": [],
"endpoints": [
{
"name": "nova",
"adminURL": "https://nova.region-one.internal.com/v2/be1319401cfa4a0aa590b97cc7b64d8d",
"region": "RegionOne",
"internalURL": "https://nova.region-one.internal.com/v2/be1319401cfa4a0aa590b97cc7b64d8d",
"type": "compute",
"id": "11b41ee1b00841128b7333d4bf1a6140",
"publicURL": "https://nova.region-one.public.com/v2/be1319401cfa4a0aa590b97cc7b64d8d"
},
{
"name": "neutron",
"adminURL": "https://neutron.region-one.internal.com/",
"region": "RegionOne",
"internalURL": "https://neutron.region-one.internal.com/",
"type": "network",
"id": "cdbfa3c416d741a9b5c968f2dc628acb",
"publicURL": "https://neutron.region-one.public.com/"
},
{
"name": "cinderv2",
"adminURL": "https://cinderv2.region-one.internal.com/v2/be1319401cfa4a0aa590b97cc7b64d8d",
"region": "RegionOne",
"internalURL": "https://cinderv2.region-one.internal.com/v2/be1319401cfa4a0aa590b97cc7b64d8d",
"type": "cinderv2v2",
"id": "6de282e4132747ecb48f6fd8c525c6f6",
"publicURL": "https://cinderv2.region-one.public.com/v2/be1319401cfa4a0aa590b97cc7b64d8d"
},
{
"name": "trove",
"adminURL": "https://trove.region-one.internal.com/v1.0/be1319401cfa4a0aa590b97cc7b64d8d",
"region": "RegionOne",
"internalURL": "https://trove.region-one.internal.com/v1.0/be1319401cfa4a0aa590b97cc7b64d8d",
"type": "database",
"id": "4bfad53a0c684bd981d093099eb7799b",
"publicURL": "https://trove.region-one.public.com/v1.0/be1319401cfa4a0aa590b97cc7b64d8d"
},
{
"name": "s3",
"adminURL": "https://s3.region-one.internal.com",
"region": "RegionOne",
"internalURL": "https://s3.region-one.internal.com",
"type": "s3",
"id": "50fb6b43cde44bb6b0e471a682dc42dd",
"publicURL": "https://s3.region-one.public.com"
},
{
"name": "glance",
"adminURL": "https://glance.region-one.internal.com",
"region": "RegionOne",
"internalURL": "https://glance.region-one.internal.com",
"type": "glance",
"id": "838a338171164c3c8f56e6b5882267ff",
"publicURL": "https://glance.region-one.public.com"
},
{
"name": "novav3",
"adminURL": "https://novav3.region-one.internal.com/v3",
"region": "RegionOne",
"internalURL": "https://novav3.region-one.internal.com/v3",
"type": "computev3",
"id": "b437edd03d244bf4be605b9b8c8689e0",
"publicURL": "https://novav3.region-one.public.com/v3"
},
{
"name": "heat",
"adminURL": "https://heat.region-one.internal.comv1",
"region": "RegionOne",
"internalURL": "https://heat.region-one.internal.comv1",
"type": "cloudformation",
"id": "7a0f6f37344d488fa596a1325e0fcf10",
"publicURL": "https://heat.region-one.public.comv1"
},
{
"name": "cinder",
"adminURL": "https://cinder.region-one.internal.com/v1/be1319401cfa4a0aa590b97cc7b64d8d",
"region": "RegionOne",
"internalURL": "https://cinder.region-one.internal.com/v1/be1319401cfa4a0aa590b97cc7b64d8d",
"type": "cinderv2",
"id": "d4f251065dce4ce3946d3c1b87e167f2",
"publicURL": "https://cinder.region-one.public.com/v1/be1319401cfa4a0aa590b97cc7b64d8d"
},
{
"name": "ec2",
"adminURL": "https://ec2.region-one.internal.com/services/Admin",
"region": "RegionOne",
"internalURL": "https://ec2.region-one.internal.com/services/Cloud",
"type": "ec2",
"id": "44c6bf28d9bd4d63bfb00d66f22439a8",
"publicURL": "https://ec2.region-one.public.com/services/Cloud"
},
{
"name": "heat",
"adminURL": "https://heat.region-one.internal.com/v1/be1319401cfa4a0aa590b97cc7b64d8d",
"region": "RegionOne",
"internalURL": "https://heat.region-one.internal.com/v1/be1319401cfa4a0aa590b97cc7b64d8d",
"type": "orchestration",
"id": "21aaace3f33c46b8aaea2b17d41ffd54",
"publicURL": "https://heat.region-one.public.com/v1/be1319401cfa4a0aa590b97cc7b64d8d"
},
{
"name": "swift",
"adminURL": "https://swift.region-one.internal.com",
"region": "RegionOne",
"internalURL": "https://swift.region-one.internal.com/v1/AUTH_be1319401cfa4a0aa590b97cc7b64d8d",
"type": "object-store",
"id": "35f7aca3be384580a3b1df43a97c2eb2",
"publicURL": "https://swift.region-one.public.com/v1/AUTH_be1319401cfa4a0aa590b97cc7b64d8d"
},
{
"name": "keystone",
"adminURL": "https://keystone.region-one.internal.com/v2.0",
"region": "RegionOne",
"internalURL": "https://keystone.region-one.internal.com/v2.0",
"type": "identity",
"id": "48da758fb58c47dcaf02000a4409a265",
"publicURL": "https://keystone.region-one.public.com/v2.0"
}
]
}
<?xml version="1.0" encoding="UTF-8"?>
<endpoints xmlns="http://docs.openstack.org/identity/api/v2.0">
<endpoint name="nova"
adminURL="https://nova.region-one.internal.com/v2/be1319401cfa4a0aa590b97cc7b64d8d"
region="RegionOne"
internalURL="https://nova.region-one.internal.com/v2/be1319401cfa4a0aa590b97cc7b64d8d"
type="compute" id="11b41ee1b00841128b7333d4bf1a6140"
publicURL="https://nova.region-one.public.com/v2/be1319401cfa4a0aa590b97cc7b64d8d"/>
<endpoint name="neutron"
adminURL="https://neutron.region-one.internal.com/"
region="RegionOne"
internalURL="https://neutron.region-one.internal.com/"
type="network" id="cdbfa3c416d741a9b5c968f2dc628acb"
publicURL="https://neutron.region-one.public.com/"/>
<endpoint name="cinderv2"
adminURL="https://cinderv2.region-one.internal.com/v2/be1319401cfa4a0aa590b97cc7b64d8d"
region="RegionOne"
internalURL="https://cinderv2.region-one.internal.com/v2/be1319401cfa4a0aa590b97cc7b64d8d"
type="volumev2" id="6de282e4132747ecb48f6fd8c525c6f6"
publicURL="https://cinderv2.region-one.public.com/v2/be1319401cfa4a0aa590b97cc7b64d8d"/>
<endpoint name="trove"
adminURL="https://trove.region-one.internal.com/v1.0/be1319401cfa4a0aa590b97cc7b64d8d"
region="RegionOne"
internalURL="https://trove.region-one.internal.com/v1.0/be1319401cfa4a0aa590b97cc7b64d8d"
type="database" id="4bfad53a0c684bd981d093099eb7799b"
publicURL="https://trove.region-one.public.com/v1.0/be1319401cfa4a0aa590b97cc7b64d8d"/>
<endpoint name="s3" adminURL="https://s3.region-one.internal.com"
region="RegionOne"
internalURL="https://s3.region-one.internal.com" type="s3"
id="50fb6b43cde44bb6b0e471a682dc42dd"
publicURL="https://s3.region-one.public.com"/>
<endpoint name="glance"
adminURL="https://glance.region-one.internal.com"
region="RegionOne"
internalURL="https://glance.region-one.internal.com"
type="image" id="838a338171164c3c8f56e6b5882267ff"
publicURL="https://glance.region-one.public.com"/>
<endpoint name="novav3"
adminURL="https://novav3.region-one.internal.com/v3"
region="RegionOne"
internalURL="https://novav3.region-one.internal.com/v3"
type="computev3" id="b437edd03d244bf4be605b9b8c8689e0"
publicURL="https://novav3.region-one.public.com/v3"/>
<endpoint name="heat"
adminURL="https://heat.region-one.internal.com/v1"
region="RegionOne"
internalURL="https://heat.region-one.internal.com/v1"
type="cloudformation" id="7a0f6f37344d488fa596a1325e0fcf10"
publicURL="https://heat.region-one.public.com/v1"/>
<endpoint name="cinder"
adminURL="https://cinderv2.region-one.internal.com/v1/be1319401cfa4a0aa590b97cc7b64d8d"
region="RegionOne"
internalURL="https://cinderv2.region-one.internal.com/v1/be1319401cfa4a0aa590b97cc7b64d8d"
type="volume" id="d4f251065dce4ce3946d3c1b87e167f2"
publicURL="https://cinderv2.region-one.public.com/v1/be1319401cfa4a0aa590b97cc7b64d8d"/>
<endpoint name="ec2"
adminURL="https://ec2.region-one.internal.com/services/Admin"
region="RegionOne"
internalURL="https://ec2.region-one.internal.com/services/Cloud"
type="ec2" id="44c6bf28d9bd4d63bfb00d66f22439a8"
publicURL="https://ec2.region-one.public.com/services/Cloud"/>
<endpoint name="heat"
adminURL="https://heat.region-one.internal.com/v1/be1319401cfa4a0aa590b97cc7b64d8d"
region="RegionOne"
internalURL="https://heat.region-one.internal.com/v1/be1319401cfa4a0aa590b97cc7b64d8d"
type="orchestration" id="21aaace3f33c46b8aaea2b17d41ffd54"
publicURL="https://heat.region-one.public.com/v1/be1319401cfa4a0aa590b97cc7b64d8d"/>
<endpoint name="swift"
adminURL="https://swift.region-one.internal.com"
region="RegionOne"
internalURL="https://swift.region-one.internal.com/v1/AUTH_be1319401cfa4a0aa590b97cc7b64d8d"
type="object-store" id="35f7aca3be384580a3b1df43a97c2eb2"
publicURL="https://swift.region-one.public.com/v1/AUTH_be1319401cfa4a0aa590b97cc7b64d8d"/>
<endpoint name="keystone"
adminURL="https://keystone.region-one.internal.com/v2.0"
region="RegionOne"
internalURL="https://keystone.region-one.internal.com/v2.0"
type="identity" id="48da758fb58c47dcaf02000a4409a265"
publicURL="https://keystone.region-one.public.com/v2.0"/>
</endpoints>
Adds a user.
{
"user": {
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
}
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org" name="jqsmith"
id="u1000"/>
A valid
authentication token for an administrative user.
The user
ID.
The user
name.
The user
email.
Indicates whether
the user is enabled (true) or disabled (false).
{
"user": {
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
}
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org" name="jqsmith"
id="u1000"/>
The user
ID.
The user
name.
The user
email.
Indicates whether
the user is enabled (true) or disabled (false).
The ID of the user for which you want to perform the
request.
Updates a user.
{
"user": {
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
}
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org" name="jqsmith"
id="u1000"/>
The user
ID.
The user
name.
The user
email.
Indicates whether
the user is enabled (true) or disabled (false).
{
"user": {
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
}
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org" name="jqsmith"
id="u1000"/>
The user
ID.
The user
name.
The user
email.
Indicates whether
the user is enabled (true) or disabled (false).
Deletes a user.
The user
name.
Gets detailed information about a specified user by user
name.
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org" name="jqsmith"
id="u1000"/>
{
"user": {
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
}
The user
ID.
Gets detailed information about a specified user by user
ID.
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" email="john.smith@example.org" name="jqsmith"
id="u1000"/>
{
"user": {
"id": "u1000",
"name": "jqsmith",
"email": "john.smith@example.org",
"enabled": true
}
}
The user
ID.
Lists global roles for a specified user. Excludes tenant
roles.
{
"roles": [
{
"id": "123",
"name": "compute:admin",
"description": "Nova Administrator"
}
],
"roles_links": []
}
<?xml version="1.0" encoding="UTF-8"?>
<roles xmlns="http://docs.openstack.org/identity/api/v2.0">
<role id="123" name="Admin" description="All Access"/>
<role id="234" name="Guest" description="Guest Access"/>
</roles>
A valid
authentication token for an administrative user.
The ID of the last
item in the previous list.
The page size.
Lists all tenants.
GET /v2.0/tenants HTTP/1.1
Host: identity.api.openstack.org
Content-Type: application/json
X-Auth-Token: fa8426a0-8eaf-4d22-8e13-7c1b16a9370c
Accept: application/json
{
"tenants": [
{
"id": "1234",
"name": "ACME Corp",
"description": "A description ...",
"enabled": true
},
{
"id": "3456",
"name": "Iron Works",
"description": "A description ...",
"enabled": true
}
],
"tenants_links": []
}
<?xml version="1.0" encoding="UTF-8"?>
<tenants xmlns="http://docs.openstack.org/identity/api/v2.0">
<tenant enabled="true" id="1234" name="ACME Corp">
<description>A description...</description>
</tenant>
<tenant enabled="true" id="3645" name="Iron Works">
<description>A description...</description>
</tenant>
</tenants>
Gets detailed information about a specified tenant by
name.
The name of the
tenant.
{
"tenant": {
"id": "1234",
"name": "ACME corp",
"description": "A description ...",
"enabled": true
}
}
<?xml version="1.0" encoding="UTF-8"?>
<tenant xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" id="1234" name="ACME Corp">
<description>A description...</description>
</tenant>
A valid
authentication token for an administrative user.
The tenant
ID.
Gets detailed information about a specified tenant by ID.
{
"tenant": {
"id": "1234",
"name": "ACME corp",
"description": "A description ...",
"enabled": true
}
}
<?xml version="1.0" encoding="UTF-8"?>
<tenant xmlns="http://docs.openstack.org/identity/api/v2.0"
enabled="true" id="1234" name="ACME Corp">
<description>A description...</description>
</tenant>
A valid
authentication token for an administrative user.
The tenant
ID.
The
user ID.
Lists roles for a specified user on a specified tenant. Excludes
global roles.
{
"roles": [
{
"id": "123",
"name": "compute:admin",
"description": "Nova Administrator"
}
],
"roles_links": []
}
<?xml version="1.0" encoding="UTF-8"?>
<roles xmlns="http://docs.openstack.org/identity/api/v2.0">
<role id="123" name="Admin" description="All Access"/>
<role id="234" name="Guest" description="Guest Access"/>
</roles>