Class ConjurRetrieveSecretService
- java.lang.Object
-
- com.cyberark.conjur.springboot.processor.ConjurRetrieveSecretService
-
public class ConjurRetrieveSecretService extends Object
-
-
Constructor Summary
Constructors Constructor Description ConjurRetrieveSecretService(com.cyberark.conjur.sdk.endpoint.SecretsApi secretsApi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]retriveMultipleSecretsForCustomAnnotation(String[] keys)This method retrieves multiple secrets for custom annotation's keys.byte[]retriveSingleSecretForCustomAnnotation(String key)This method retrieves single secret for custom annotation's key value.
-
-
-
Method Detail
-
retriveMultipleSecretsForCustomAnnotation
public byte[] retriveMultipleSecretsForCustomAnnotation(String[] keys)
This method retrieves multiple secrets for custom annotation's keys.- Parameters:
keys- - query to vault.- Returns:
- secrets - output from the vault.
-
retriveSingleSecretForCustomAnnotation
public byte[] retriveSingleSecretForCustomAnnotation(String key)
This method retrieves single secret for custom annotation's key value.- Parameters:
key- - query to vault.- Returns:
- secrets - output from the vault.
-
-