Class VaultResponseV1

java.lang.Object
io.micronaut.discovery.vault.config.AbstractVaultResponse<Map<String,Object>>
io.micronaut.discovery.vault.config.v1.VaultResponseV1

public class VaultResponseV1 extends AbstractVaultResponse<Map<String,Object>>
Vault Response Envelope.
Since:
1.2.0
Author:
thiagolocatelli
  • 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 object
      leaseDuration - The token lease duration
      leaseId - The token lease id
      requestId - The vault request id
      wrapInfo - The wrap info object
      renewable - The flag indicating the vault token is renewable
      warnings - The list of warnings
  • Method Details