Package io.quarkus.vault.runtime.config
Interface TransitKeyConfig
public interface TransitKeyConfig
-
Method Summary
Modifier and TypeMethodDescriptionIf enabled, the key will support convergent encryption, where the same plaintext creates the same ciphertext.Specifies the hash algorithm to use for supporting key types.name()Specifies the name of the key to use.Set to true when the input is already hashed.When using a RSA key, specifies the RSA signature algorithm.type()Specifies the type of key to create for the encrypt operation.
-
Method Details
-
name
Specifies the name of the key to use. By default this will be the property key alias. Used when the same transit key is used with different configurations. Such as in: ``` quarkus.vault.transit.key.my-foo-key.name=foo quarkus.vault.transit.key.my-foo-key-with-prehashed.name=foo quarkus.vault.transit.key.my-foo-key-with-prehashed.prehashed=true ... transitSecretEngine.sign("my-foo-key", "my raw content"); or transitSecretEngine.sign("my-foo-key-with-prehashed", "my already hashed content"); ``` -
prehashed
Set to true when the input is already hashed. Applies to sign operations.- See Also:
-
signatureAlgorithm
When using a RSA key, specifies the RSA signature algorithm. Applies to sign operations. -
hashAlgorithm
Specifies the hash algorithm to use for supporting key types. Applies to sign operations.- See Also:
-
type
Specifies the type of key to create for the encrypt operation. Applies to encrypt operations.- See Also:
-
convergentEncryption
If enabled, the key will support convergent encryption, where the same plaintext creates the same ciphertext. Applies to encrypt operations.
-