pub struct LoadOpts {
Show 18 fields pub profile_name: Option<String>, pub config_path: Option<PathBuf>, pub idp_access_token: Option<String>, pub idp_client_id: Option<String>, pub idp_client_secret: Option<String>, pub idp_host: Option<String>, pub key_management_aws_credentials_access_key_id: Option<String>, pub key_management_aws_credentials_region: Option<String>, pub key_management_aws_credentials_role_arn: Option<String>, pub key_management_aws_credentials_secret_access_key: Option<String>, pub key_management_aws_credentials_session_token: Option<String>, pub key_management_key_arn: Option<String>, pub key_management_key_key: Option<String>, pub key_management_key_naming_key: Option<String>, pub key_management_key_region: Option<String>, pub service_fqdn: Option<String>, pub service_port: Option<usize>, pub service_workspace: Option<String>,
}
Expand description

Options accepted by Config::load.

Fields§

§profile_name: Option<String>

The name of the profile to load. Defaults to "default".

§config_path: Option<PathBuf>

The path to the directory to use for CipherStash config. Defaults to ~/.cipherstash.

§idp_access_token: Option<String>§idp_client_id: Option<String>§idp_client_secret: Option<String>§idp_host: Option<String>§key_management_aws_credentials_access_key_id: Option<String>§key_management_aws_credentials_region: Option<String>§key_management_aws_credentials_role_arn: Option<String>§key_management_aws_credentials_secret_access_key: Option<String>§key_management_aws_credentials_session_token: Option<String>§key_management_key_arn: Option<String>§key_management_key_key: Option<String>§key_management_key_naming_key: Option<String>§key_management_key_region: Option<String>§service_fqdn: Option<String>§service_port: Option<usize>§service_workspace: Option<String>

Trait Implementations§

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
The error type produced by a failed conversion.
Convert the given value into an approximately equivalent representation.
The error type produced by a failed conversion.
Convert the subject into an approximately equivalent representation.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Approximate the subject with the default scheme.
Approximate the subject with a specific scheme.
Approximate the subject to a given type with the default scheme.
Approximate the subject to a given type with a specific scheme.
Convert the subject to a given type.
Attempt to convert the subject to a given type.
Attempt a value conversion of the subject to a given type.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Wrap the input message T in a tonic::Request
Should always be Self
The error type produced by a failed conversion.
Convert the given value into the subject type.
The type returned in the event of a conversion error.
Performs the conversion.
The error type produced by a failed conversion.
Convert the subject into the destination type.
The type returned in the event of a conversion error.
Performs the conversion.
The error type produced by a failed conversion.
Convert the given value into an exactly equivalent representation.
The error type produced by a failed conversion.
Convert the subject into an exactly equivalent representation.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more