aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/ZtsClient.java
blob: f37c1679d1ef261377c0892aa207e79f5c5106b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.athenz;

import com.yahoo.vespa.hosted.controller.api.identifiers.AthenzDomain;

import java.util.List;

/**
 * @author bjorncs
 */
public interface ZtsClient {

    List<AthenzDomain> getTenantDomainsForUser(AthenzIdentity principal);

    AthenzIdentityCertificate getIdentityCertificate();

    AthenzRoleCertificate getRoleCertificate(AthenzDomain roleDomain, String roleName);

}