Package com.c12e.cortex.profiles.client
Interface CortexSecretsClient
-
- All Known Implementing Classes:
LocalSecretClient
public interface CortexSecretsClient
Client to Cortex Secrets Service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getSecret(java.lang.String project, java.lang.String path)
Retrieve a secret value by project and key pathjava.util.Set<java.lang.String>
listSecrets(java.lang.String project)
List all secret keys for a project
-
-
-
Method Detail
-
getSecret
java.lang.String getSecret(java.lang.String project, java.lang.String path)
Retrieve a secret value by project and key path- Parameters:
project
- the project with a secretpath
- the key path to the secret with the project- Returns:
- the secret value
-
listSecrets
java.util.Set<java.lang.String> listSecrets(java.lang.String project)
List all secret keys for a project- Parameters:
project
- the project to list- Returns:
- a collection of secret keys
-
-