public static String toCredentialKey(ByteString publicKeySha1) {
return BaseEncoding.base16().encode(publicKeySha1.toByteArray());
}
private AuthenticatedUser buildDomainToken(DomainData domain, UserWithSecret userWithSecret) throws CloudException {
TokenScope scope = null;
ProjectData project = null;
ProjectRoles projectRoles = null;
scope = TokenScope.Domain;