Class VaultResponseV1
java.lang.Object
io.micronaut.discovery.vault.config.AbstractVaultResponse<Map<String,Object>>
io.micronaut.discovery.vault.config.v1.VaultResponseV1
Vault Response Envelope.
- Since:
- 1.2.0
- Author:
- thiagolocatelli
-
Field Summary
Fields inherited from class io.micronaut.discovery.vault.config.AbstractVaultResponse
data, leaseDuration, leaseId, renewable, requestId, warnings, wrapInfo
-
Constructor Summary
-
Method Summary
Methods inherited from class io.micronaut.discovery.vault.config.AbstractVaultResponse
getData, getLeaseDuration, getLeaseId, getRequestId, getWarnings, getWrapInfo, isRenewable, setData, setLeaseDuration, setLeaseId, setRenewable, setRequestId, setWarnings, setWrapInfo
-
Constructor Details
-
VaultResponseV1
@Internal public VaultResponseV1(Map<String, Object> data, Long leaseDuration, String leaseId, String requestId, @Nullable @Nullable Map<String, String> wrapInfo, boolean renewable, @Nullable @Nullable List<String> warnings) Constructor for VaultResponseV1.- Parameters:
data
- The data objectleaseDuration
- The token lease durationleaseId
- The token lease idrequestId
- The vault request idwrapInfo
- The wrap info objectrenewable
- The flag indicating the vault token is renewablewarnings
- The list of warnings
-
-
Method Details
-
getSecrets
- Specified by:
getSecrets
in classAbstractVaultResponse<Map<String,
Object>> - Returns:
- The data object
-