summaryrefslogtreecommitdiffstats
path: root/container-disc/src/main/java/com/yahoo/container/jdisc/Ckms.java
blob: 26c71686a8277518f45bd25476588fc1c64ba977 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

package com.yahoo.container.jdisc;

/**
 * @author mortent
 */
public interface Ckms {
    /** Returns the secret for this key */
    String getSecret(String key);

    /** Returns the secret for this key and version */
    String getSecret(String key, int version);
}