Class VaultResponseV2
java.lang.Object
io.micronaut.discovery.vault.config.AbstractVaultResponse<VaultResponseData>
io.micronaut.discovery.vault.config.v2.VaultResponseV2
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
ConstructorDescriptionVaultResponseV2
(VaultResponseData data, Long leaseDuration, String leaseId, String requestId, @Nullable Map<String, String> wrapInfo, boolean renewable, @Nullable List<String> warnings) Constructor for VaultResponseV2. -
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
-
VaultResponseV2
@Internal public VaultResponseV2(VaultResponseData data, Long leaseDuration, String leaseId, String requestId, @Nullable @Nullable Map<String, String> wrapInfo, boolean renewable, @Nullable @Nullable List<String> warnings) Constructor for VaultResponseV2.- 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<VaultResponseData>
- Returns:
- The data object
-