Class SecretServiceImpl
java.lang.Object
tech.justen.concord.goodwill.task.v1.SecretServiceImpl
- All Implemented Interfaces:
SecretService
-
Field Summary
Fields inherited from interface tech.justen.concord.goodwill.SecretService
PASSWORD, PRIVATE_KEY, PUBLIC_KEY, USERNAME -
Constructor Summary
ConstructorsConstructorDescriptionSecretServiceImpl(com.walmartlabs.concord.sdk.Context ctx, com.walmartlabs.concord.sdk.SecretService secretService, com.walmartlabs.concord.client.SecretsApi secretsApi) -
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.sdk.Context ctx, com.walmartlabs.concord.sdk.SecretService secretService, com.walmartlabs.concord.client.SecretsApi secretsApi)
-
-
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
-