

# AuthenticationMode
<a name="API_AuthenticationMode"></a>

Specifies the authentication mode to use.

## Contents
<a name="API_AuthenticationMode_Contents"></a>

**Note**  
In the following list, the required parameters are described first.

 ** Passwords.member.N **   
Specifies the passwords to use for authentication if `Type` is set to `password`.  
Type: Array of strings  
Array Members: Minimum number of 1 item.  
Required: No

 ** Type **   
Specifies the authentication type. Possible options are IAM authentication, password and no password.  
Type: String  
Valid Values: `password | no-password-required | iam`   
Required: No

## See Also
<a name="API_AuthenticationMode_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/elasticache-2015-02-02/AuthenticationMode) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/elasticache-2015-02-02/AuthenticationMode) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/elasticache-2015-02-02/AuthenticationMode) 