@Component public class CredStashHelper extends Object
| Constructor and Description |
|---|
CredStashHelper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentialFromCredStash(String credStashEncryptionContext,
String credentialName)
Gets a password from the credstash.
|
@Cacheable(value="herd_cache") public String getCredentialFromCredStash(String credStashEncryptionContext, String credentialName) throws CredStashGetCredentialFailedException
credStashEncryptionContext - the encryption contextcredentialName - the credential nameCredStashGetCredentialFailedException - if CredStash fails to get a credentialCopyright © 2021. All rights reserved.