aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/secrets/NoopGcpSecretStore.java
blob: ef35127e933f4203305c989f2f95c46a032b8c49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Yahoo. 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 java.time.Duration;
import java.util.Optional;

/**
 * @author olaa
 */
public class NoopGcpSecretStore implements GcpSecretStore {

    @Override
    public void setSecret(String secretName, Optional<Duration> expiry, String... accessorServiceAccounts) { }

    @Override
    public void addSecretVersion(String secretName, String secretValue) { }

    @Override
    public String getLatestSecretVersion(String secretName) { return ""; }

}