public class VaultSecretStore extends Object implements SecretStore
SecretStore implementation for
storing and retrieving secret data from HashiCorp Vault.| Constructor and Description |
|---|
VaultSecretStore() |
VaultSecretStore(VaultTemplateFactory templateFactory,
VaultAuthenticationProvider vaultAuthenticationProvider) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String jsonParams)
Retrieves a secret value from HashiCorp Vault based on the provided JSON parameters.
|
String |
store(String plainTextData)
This method is used to store plaintext data.
|
public VaultSecretStore(VaultTemplateFactory templateFactory, VaultAuthenticationProvider vaultAuthenticationProvider)
public VaultSecretStore()
public String get(String jsonParams)
get in interface SecretStorejsonParams - the JSON parameters used to retrieve the secret valueSecretStoreException - if there is a problem when getting the secret valuepublic String store(String plainTextData)
store in interface SecretStoreplainTextData - The plaintext data to be stored.UnsupportedOperationException - Encryption is currently not supported for HashiCorp Vault.Copyright © 2023 Atlassian. All rights reserved.