andreaturli commented on this pull request.


> +
+Openstack Keystone (aka: [OpenStack Identity 
Service](https://docs.openstack.org/keystone/latest/)) has major changes 
between v2 and v3 (detail. [Identity API v2.0 and v3 
History](https://docs.openstack.org/keystone/latest/contributor/http-api.html)).
+
+Basically to login, you should provide:
+
+* On v2: *tenant*, *user*, *password*.
+* On v3: a *project* (new name for *tenant*), an authentication *domain* for 
this *project*, a *user*, an authentication *domain* for this *user* (the two 
domains can be different).
+
+JClouds provide backward compatibility between keystone v2-v3 ... but you 
should have following section in mind to fully understand the authentication on 
your Openstack platform (in addition of blog: [OpenStack Keystone V3 
Support](https://jclouds.apache.org/blog/2018/01/16/keystone-v3/)).
+
+### v2
+
+This snippet:
+{% highlight java %}
+final Properties overrides = new Properties();
+overrides.put(KeystoneProperties.KEYSTONE_VERSION, "2");

thanks @axel3rd for the quick update

I think from nova code 
https://github.com/jclouds/jclouds/blob/master/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/NovaApiMetadata.java#L74
 the default keystone version is 3 but the extra property would probably not 
hurt

@demobox @nacx any preference?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/214#discussion_r186412487

Reply via email to