public static class VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder extends Object
VaultTransitKeyConfiguration
.Modifier and Type | Method and Description |
---|---|
VaultTransitKeyConfiguration |
build()
Build a new
VaultTransitKeyConfiguration instance. |
VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder |
deletionAllowed(boolean deletionAllowed)
Set whether key deletion is allowed.
|
VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder |
minDecryptionVersion(int minDecryptionVersion)
Specifies the minimum version of ciphertext allowed to be decrypted.
|
VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder |
minEncryptionVersion(int minEncryptionVersion)
Specifies the minimum version of the key that can be used to encrypt plaintext,
sign payloads, or generate HMACs.
|
public VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder deletionAllowed(boolean deletionAllowed)
deletionAllowed
- true if key deletion should be allowed.this
VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder
.public VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder minDecryptionVersion(int minDecryptionVersion)
minDecryptionVersion
- key version.this
VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder
.public VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder minEncryptionVersion(int minEncryptionVersion)
minDecryptionVersion(int)
.minEncryptionVersion
- key version.this
VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder
.public VaultTransitKeyConfiguration build()
VaultTransitKeyConfiguration
instance.VaultTransitKeyConfiguration
.Copyright © 2016–2021 Pivotal Software, Inc.. All rights reserved.