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 stop sharing.
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 stop sharing.
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
source§fn eq(&self, other: &IdentityProviderDetails) -> bool
fn eq(&self, other: &IdentityProviderDetails) -> bool
self and other values to be equal, and is used
by ==.