#[repr(C)]pub struct aws_credentials_provider_x509_options {
pub shutdown_options: aws_credentials_provider_shutdown_options,
pub bootstrap: *mut aws_client_bootstrap,
pub tls_connection_options: *const aws_tls_connection_options,
pub thing_name: aws_byte_cursor,
pub role_alias: aws_byte_cursor,
pub endpoint: aws_byte_cursor,
pub proxy_options: *mut aws_http_proxy_options,
pub function_table: *mut aws_auth_http_system_vtable,
}Expand description
Configuration options for the X509 credentials provider
The x509 credentials provider sources temporary credentials from AWS IoT Core using TLS mutual authentication. See details: https://docs.aws.amazon.com/iot/latest/developerguide/authorizing-direct-aws.html An end to end demo with detailed steps can be found here: https://aws.amazon.com/blogs/security/how-to-eliminate-the-need-for-hardcoded-aws-credentials-in-devices-by-using-the-aws-iot-credentials-provider/
Fields
shutdown_options: aws_credentials_provider_shutdown_optionsbootstrap: *mut aws_client_bootstraptls_connection_options: *const aws_tls_connection_optionsthing_name: aws_byte_cursorrole_alias: aws_byte_cursorendpoint: aws_byte_cursorPer-account X509 credentials sourcing endpoint.
proxy_options: *mut aws_http_proxy_options(Optional) Http proxy configuration for the http request that fetches credentials
function_table: *mut aws_auth_http_system_vtableTrait Implementations
sourceimpl Clone for aws_credentials_provider_x509_options
impl Clone for aws_credentials_provider_x509_options
sourcefn clone(&self) -> aws_credentials_provider_x509_options
fn clone(&self) -> aws_credentials_provider_x509_options
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl PartialEq<aws_credentials_provider_x509_options> for aws_credentials_provider_x509_options
impl PartialEq<aws_credentials_provider_x509_options> for aws_credentials_provider_x509_options
sourcefn eq(&self, other: &aws_credentials_provider_x509_options) -> bool
fn eq(&self, other: &aws_credentials_provider_x509_options) -> bool
impl Copy for aws_credentials_provider_x509_options
impl Eq for aws_credentials_provider_x509_options
impl StructuralEq for aws_credentials_provider_x509_options
impl StructuralPartialEq for aws_credentials_provider_x509_options
Auto Trait Implementations
impl RefUnwindSafe for aws_credentials_provider_x509_options
impl !Send for aws_credentials_provider_x509_options
impl !Sync for aws_credentials_provider_x509_options
impl Unpin for aws_credentials_provider_x509_options
impl UnwindSafe for aws_credentials_provider_x509_options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more