pub enum AuthMethod {
Show 14 variants
OAuth2,
ApiKey,
IamRole,
Certificate,
BasicAuth,
Saml,
Oidc,
Kerberos,
AwsSignatureV4,
GcpServiceAccount,
AzureActiveDirectory,
Mtls,
None,
Custom,
}Expand description
Authentication method for system connections
Defines the authentication method used to connect to a system. Used in EnvironmentConnection to specify how to authenticate with different environments.
Variants§
OAuth2
OAuth 2.0 authentication
ApiKey
API key authentication
IamRole
AWS IAM role authentication
Certificate
Certificate-based authentication
BasicAuth
Basic username/password authentication
Saml
SAML authentication
Oidc
OpenID Connect authentication
Kerberos
Kerberos authentication
AwsSignatureV4
AWS Signature Version 4
GcpServiceAccount
GCP Service Account authentication
AzureActiveDirectory
Azure Active Directory authentication
Mtls
Mutual TLS authentication
None
No authentication required
Custom
Custom authentication method
Trait Implementations§
Source§impl Clone for AuthMethod
impl Clone for AuthMethod
Source§fn clone(&self) -> AuthMethod
fn clone(&self) -> AuthMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthMethod
impl Debug for AuthMethod
Source§impl<'de> Deserialize<'de> for AuthMethod
impl<'de> Deserialize<'de> for AuthMethod
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for AuthMethod
impl Hash for AuthMethod
Source§impl PartialEq for AuthMethod
impl PartialEq for AuthMethod
Source§impl Serialize for AuthMethod
impl Serialize for AuthMethod
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for AuthMethod
impl Eq for AuthMethod
impl StructuralPartialEq for AuthMethod
Auto Trait Implementations§
impl Freeze for AuthMethod
impl RefUnwindSafe for AuthMethod
impl Send for AuthMethod
impl Sync for AuthMethod
impl Unpin for AuthMethod
impl UnwindSafe for AuthMethod
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.