Class VaultTransitKeyCreationRequest

java.lang.Object
org.springframework.vault.support.VaultTransitKeyCreationRequest

public class VaultTransitKeyCreationRequest extends Object
Transit secrets engine key creation request options.
Author:
Mark Paluch, Sven Schürmann
  • Method Details

    • ofKeyType

      public static VaultTransitKeyCreationRequest ofKeyType(String type)
      Create a new VaultTransitKeyCreationRequest specifically for a type .
      Parameters:
      type - the key type to use, must not be null or empty.
      Returns:
      a new VaultTransitKeyCreationRequest for the given key type .
      Since:
      2.0
    • builder

      Returns:
      a new VaultTransitKeyCreationRequest.VaultTransitKeyCreationRequestBuilder.
    • getDerived

      public boolean getDerived()
      Returns:
      true if key derivation MUST be used.
    • getConvergentEncryption

      public boolean getConvergentEncryption()
      Returns:
      true if convergent encryption should be used (where the same plaintext creates the same cipher text).
    • getType

      public String getType()
      Returns:
      the key type.
    • getExportable

      public boolean getExportable()
      Returns:
      true if key MUST be exportable.