Struct aws_sdk_transfer::types::IdentityProviderDetails
source · #[non_exhaustive]pub struct IdentityProviderDetails {
pub url: Option<String>,
pub invocation_role: Option<String>,
pub directory_id: Option<String>,
pub function: Option<String>,
pub sftp_authentication_methods: Option<SftpAuthenticationMethods>,
}Expand description
Returns information related to the type of user authentication that is in use for a file transfer protocol-enabled server's users. A server can have only one method of authentication.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url: Option<String>Provides the location of the service endpoint used to authenticate users.
invocation_role: Option<String>This parameter is only applicable if your IdentityProviderType is API_GATEWAY. Provides the type of InvocationRole used to authenticate the user account.
directory_id: Option<String>The identifier of the Directory Service directory that you want to use as your identity provider.
function: Option<String>The ARN for a Lambda function to use for the Identity provider.
sftp_authentication_methods: Option<SftpAuthenticationMethods>For SFTP-enabled servers, and for custom identity providers only, you can specify whether to authenticate using a password, SSH key pair, or both.
-
PASSWORD- users must provide their password to connect. -
PUBLIC_KEY- users must provide their private key to connect. -
PUBLIC_KEY_OR_PASSWORD- users can authenticate with either their password or their key. This is the default value. -
PUBLIC_KEY_AND_PASSWORD- users must provide both their private key and their password to connect. The server checks the key first, and then if the key is valid, the system prompts for a password. If the private key provided does not match the public key that is stored, authentication fails.
Implementations§
source§impl IdentityProviderDetails
impl IdentityProviderDetails
sourcepub fn url(&self) -> Option<&str>
pub fn url(&self) -> Option<&str>
Provides the location of the service endpoint used to authenticate users.
sourcepub fn invocation_role(&self) -> Option<&str>
pub fn invocation_role(&self) -> Option<&str>
This parameter is only applicable if your IdentityProviderType is API_GATEWAY. Provides the type of InvocationRole used to authenticate the user account.
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The identifier of the Directory Service directory that you want to use as your identity provider.
sourcepub fn function(&self) -> Option<&str>
pub fn function(&self) -> Option<&str>
The ARN for a Lambda function to use for the Identity provider.
sourcepub fn sftp_authentication_methods(&self) -> Option<&SftpAuthenticationMethods>
pub fn sftp_authentication_methods(&self) -> Option<&SftpAuthenticationMethods>
For SFTP-enabled servers, and for custom identity providers only, you can specify whether to authenticate using a password, SSH key pair, or both.
-
PASSWORD- users must provide their password to connect. -
PUBLIC_KEY- users must provide their private key to connect. -
PUBLIC_KEY_OR_PASSWORD- users can authenticate with either their password or their key. This is the default value. -
PUBLIC_KEY_AND_PASSWORD- users must provide both their private key and their password to connect. The server checks the key first, and then if the key is valid, the system prompts for a password. If the private key provided does not match the public key that is stored, authentication fails.
source§impl IdentityProviderDetails
impl IdentityProviderDetails
sourcepub fn builder() -> IdentityProviderDetailsBuilder
pub fn builder() -> IdentityProviderDetailsBuilder
Creates a new builder-style object to manufacture IdentityProviderDetails.
Trait Implementations§
source§impl Clone for IdentityProviderDetails
impl Clone for IdentityProviderDetails
source§fn clone(&self) -> IdentityProviderDetails
fn clone(&self) -> IdentityProviderDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IdentityProviderDetails
impl Debug for IdentityProviderDetails
source§impl PartialEq for IdentityProviderDetails
impl PartialEq for IdentityProviderDetails
impl StructuralPartialEq for IdentityProviderDetails
Auto Trait Implementations§
impl Freeze for IdentityProviderDetails
impl RefUnwindSafe for IdentityProviderDetails
impl Send for IdentityProviderDetails
impl Sync for IdentityProviderDetails
impl Unpin for IdentityProviderDetails
impl UnwindSafe for IdentityProviderDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more