String identity = account.getTenantName() + ":" + account.getUserName();
String password = account.getPassword();
ImmutableSet<Module> modules = ImmutableSet
.<Module> of(new SLF4JLoggingModule());
return ContextBuilder.newBuilder(new NovaApiMetadata())
.endpoint(account.getKeystoneEndpoint()).modules(modules)
.credentials(identity, password).overrides(overrides)
.buildApi(NovaApi.class);
}