URI identityEndpoint = URI.create(metadata.getTopLevel("identity_uri"));
HttpClient httpClient = metadataClient.getHttpClient();
OpenstackIdentityClient identityClient = new OpenstackIdentityClient(httpClient, identityEndpoint, null);
StaticTokenProvider tokenProvider = new StaticTokenProvider(identityClient, serviceToken);
this.client = OpenstackClient.build(tokenProvider);
}
return client;
}