Class SecretServiceImpl
java.lang.Object
tech.justen.concord.goodwill.task.v2.SecretServiceImpl
- All Implemented Interfaces:
SecretService
-
Field Summary
Fields inherited from interface tech.justen.concord.goodwill.SecretService
PASSWORD, PRIVATE_KEY, PUBLIC_KEY, USERNAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencryptString(String orgName, String projectName, String value) exportAsFile(String orgName, String name, String password) exportAsString(String orgName, String name, String password) exportCredentials(String orgName, String name, String password) exportKeyAsFile(String orgName, String name, String password)
-
Constructor Details
-
SecretServiceImpl
public SecretServiceImpl(com.walmartlabs.concord.runtime.v2.sdk.Context context)
-
-
Method Details
-
exportAsString
- Specified by:
exportAsStringin interfaceSecretService- Throws:
Exception
-
exportKeyAsFile
public Map<String,String> exportKeyAsFile(String orgName, String name, String password) throws Exception - Specified by:
exportKeyAsFilein interfaceSecretService- Throws:
Exception
-
exportCredentials
public Map<String,String> exportCredentials(String orgName, String name, String password) throws Exception - Specified by:
exportCredentialsin interfaceSecretService- Throws:
Exception
-
exportAsFile
- Specified by:
exportAsFilein interfaceSecretService- Throws:
Exception
-
decryptString
- Specified by:
decryptStringin interfaceSecretService- Throws:
Exception
-
encryptString
- Specified by:
encryptStringin interfaceSecretService- Throws:
Exception
-