Class VaultTransformContext.VaultTransformRequestBuilder

java.lang.Object
org.springframework.vault.support.VaultTransformContext.VaultTransformRequestBuilder
Enclosing class:
VaultTransformContext

public static class VaultTransformContext.VaultTransformRequestBuilder extends Object
  • Method Details

    • transformation

      public VaultTransformContext.VaultTransformRequestBuilder transformation(String transformation)
      Configure a transformation to be used with the transform operation.
      Parameters:
      transformation - name, provided as a String.
      Returns:
      this builder.
    • tweak

      Configure the tweak value for a transform operation. Must be provided during decoding for all transformations with a tweak_source of "supplied" or "generated". Must be provided during encoding for all transformations with a tweak_source of "supplied".
      Parameters:
      tweak - value must be exactly 56 bits (7 bytes), value must be supplied during any subsequent decoding after an encoding. Failure to do so will result in a decode that does not return the original value.
      Returns:
      this builder.
    • reference

      Set a user-defined reference identifier. This reference is placed into each item of a batch request and, if supported by Vault, echoed in the batch results.
      Parameters:
      reference - the correlation identifier; can be or empty.
      Returns:
      this builder.
      Since:
      3.2
    • build

      public VaultTransformContext build()
      Build a new VaultTransformContext instance.
      Returns:
      a new VaultTransformContext.