Struct cipherstash_client::config::LoadOpts
source · 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§
Auto Trait Implementations§
impl RefUnwindSafe for LoadOpts
impl Send for LoadOpts
impl Sync for LoadOpts
impl Unpin for LoadOpts
impl UnwindSafe for LoadOpts
Blanket Implementations§
source§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
source§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
source§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
source§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
source§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
source§fn approx(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, DefaultApprox>,
fn approx(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, DefaultApprox>,
Approximate the subject with the default scheme.
source§fn approx_by<Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject with a specific scheme.
source§impl<T> ConvUtil for T
impl<T> ConvUtil for T
source§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, DefaultApprox>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, DefaultApprox>,
Approximate the subject to a given type with the default scheme.
source§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
source§fn into_as<Dst>(self) -> Dstwhere
Self: Sized + Into<Dst>,
fn into_as<Dst>(self) -> Dstwhere
Self: Sized + Into<Dst>,
Convert the subject to a given type.
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request