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

import com.yahoo.config.provision.TenantName;

import java.util.List;

/**
 * @author olaa
 */
public interface TenantSecretService {

    void addSecretStore(TenantName tenant, TenantSecretStore tenantSecretStore, String externalId);

    void deleteSecretStore(TenantName tenant, TenantSecretStore tenantSecretStore);

    void cleanupSecretStores(List<TenantName> deletedTenants);

}