| Constructor and Description |
|---|
JCredStashWrapper(String region,
String tableName,
com.amazonaws.ClientConfiguration clientConfiguration)
Constructor for the JCredStashWrapper
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCredential(String name,
Map<String,String> context) |
public JCredStashWrapper(String region, String tableName, com.amazonaws.ClientConfiguration clientConfiguration)
region - the aws region location of the KMS ClienttableName - name of the credentials tableclientConfiguration - the AWS client configurationpublic String getCredential(String name, Map<String,String> context) throws Exception
getCredential in interface CredStashname - Base name of the credential to retrievecontext - key value mapException - the runtime exception if the credential is not foundCopyright © 2019. All rights reserved.