All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.digdag.spi.SecretControlStore Maven / Gradle / Ivy

package io.digdag.spi;

import com.google.common.base.Optional;
import java.util.List;

public interface SecretControlStore
{
    void setProjectSecret(int projectId, String scope, String key, String value);

    void deleteProjectSecret(int projectId, String scope, String key);

    List listProjectSecrets(int projectId, String scope);

    interface SecretLockAction 
    {
        T call(SecretControlStore store, Optional lockedValue);
    }

     T lockProjectSecret(int projectId, String scope, String key, SecretLockAction action);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy