pub struct StartInitializationRequestBuilder { /* private fields */ }
Expand description
Builder for StartInitializationRequest
.
Implementations§
Source§impl StartInitializationRequestBuilder
impl StartInitializationRequestBuilder
Sourcepub fn pgp_keys<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn pgp_keys<VALUE: Into<Option<Vec<String>>>>( &mut self, value: VALUE, ) -> &mut Self
Specifies an array of PGP public keys used to encrypt the output unseal keys. Ordering is preserved. The keys must be base64-encoded from their original binary representation. The size of this array must be the same as secret_shares.
Sourcepub fn root_token_pgp_key<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn root_token_pgp_key<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
Specifies a PGP public key used to encrypt the initial root token. The key must be base64-encoded from its original binary representation.
Specifies the number of shares to split the root key into.
Sourcepub fn secret_threshold<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn secret_threshold<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
Specifies the number of shares required to reconstruct the root key. This must be less than or equal secret_shares.
Additionally, the following options are only supported using Auto Unseal: Specifies the number of shares that should be encrypted by the HSM and stored for auto-unsealing. Currently must be the same as secret_shares.
Specifies the number of shares to split the recovery key into. This is only available when using Auto Unseal.
Sourcepub fn recovery_threshold<VALUE: Into<Option<u64>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn recovery_threshold<VALUE: Into<Option<u64>>>( &mut self, value: VALUE, ) -> &mut Self
Specifies the number of shares required to reconstruct the recovery key. This must be less than or equal to recovery_shares. This is only available when using Auto Unseal.
Sourcepub fn recovery_pgp_keys<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn recovery_pgp_keys<VALUE: Into<Option<Vec<String>>>>( &mut self, value: VALUE, ) -> &mut Self
Specifies an array of PGP public keys used to encrypt the output recovery keys. Ordering is preserved. The keys must be base64-encoded from their original binary representation. The size of this array must be the same as recovery_shares. This is only available when using Auto Unseal.
Sourcepub fn build(
&self,
) -> Result<StartInitializationRequest, StartInitializationRequestBuilderError>
pub fn build( &self, ) -> Result<StartInitializationRequest, StartInitializationRequestBuilderError>
Trait Implementations§
Source§impl Clone for StartInitializationRequestBuilder
impl Clone for StartInitializationRequestBuilder
Source§fn clone(&self) -> StartInitializationRequestBuilder
fn clone(&self) -> StartInitializationRequestBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more