public class VaultConfigTemplate extends Object implements VaultConfigOperations
VaultOperations| Constructor and Description |
|---|
VaultConfigTemplate(org.springframework.vault.core.VaultOperations vaultOperations,
VaultProperties properties)
Create a new
VaultConfigTemplate given VaultOperations. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.vault.core.VaultOperations |
getVaultOperations() |
Secrets |
read(SecretBackendMetadata secretBackendMetadata)
Read secrets from a secret backend encapsulated within a
SecretBackendMetadata. |
public VaultConfigTemplate(org.springframework.vault.core.VaultOperations vaultOperations,
VaultProperties properties)
VaultConfigTemplate given VaultOperations.vaultOperations - must not be null.properties - must not be null.public Secrets read(SecretBackendMetadata secretBackendMetadata)
VaultConfigOperationsSecretBackendMetadata. Reading data using this method is suitable for
secret backends that do not require a request body.read in interface VaultConfigOperationssecretBackendMetadata - must not be null.public org.springframework.vault.core.VaultOperations getVaultOperations()
getVaultOperations in interface VaultConfigOperationsVaultOperations.Copyright © 2022 Pivotal Software, Inc.. All rights reserved.