String username = cloud.username;
String secret = cloud.password.plaintext();
String tenant = cloud.tenant;
OpenstackCredentials credentials = new OpenstackCredentials(authUrl, username, secret, tenant);
OpenstackSession session = OpenstackSession.create();
session.authenticate(credentials, true);
session.enable(OpenstackSession.Feature.VERBOSE);
return session;
}