

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

Denotes the user's authentication properties, such as whether it requires a password to authenticate. Used in output responses.

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

 ** Passwords **   <a name="MemoryDB-Type-AuthenticationMode-Passwords"></a>
The password(s) used for authentication  
Type: Array of strings  
Array Members: Minimum number of 1 item.  
Required: No

 ** Type **   <a name="MemoryDB-Type-AuthenticationMode-Type"></a>
Indicates whether the user requires a password to authenticate. All newly-created users require a password.  
Type: String  
Valid Values: `password | iam`   
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/memorydb-2021-01-01/AuthenticationMode) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/memorydb-2021-01-01/AuthenticationMode) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/memorydb-2021-01-01/AuthenticationMode) 