You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Xianguang Zhou (JIRA)" <ji...@apache.org> on 2015/11/21 05:16:10 UTC

[jira] [Created] (JCLOUDS-1039) Create OpenStack Api(NovaApi/NeutronApi/CinderApi......) by token

Xianguang Zhou created JCLOUDS-1039:
---------------------------------------

             Summary: Create OpenStack Api(NovaApi/NeutronApi/CinderApi......) by token
                 Key: JCLOUDS-1039
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1039
             Project: jclouds
          Issue Type: New Feature
            Reporter: Xianguang Zhou


Create OpenStack Api(NovaApi/NeutronApi/CinderApi......) by token.
The token is generated by OpenStack keystone.

use Identity API v2.0
http://developer.openstack.org/api-ref-identity-v2.html
API URI: /v2.0/tokens

For example:
NovaApi novaApi = ContextBuilder.newBuilder(provider)
					.endpoint("http://xxx.xxx.xxx.xxx:5000/v2.0/")
					.credentials(identity, "")
					.authToken("xxxxx")
					.modules(modules)
					.buildApi(NovaApi.class);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)