

# BasicAuthenticationCredentials
<a name="API_BasicAuthenticationCredentials"></a>

The basic authentication credentials of a connection.

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

 ** password **   <a name="datazone-Type-BasicAuthenticationCredentials-password"></a>
The password for a connection.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 512.  
Pattern: `.*`   
Required: No

 ** userName **   <a name="datazone-Type-BasicAuthenticationCredentials-userName"></a>
The user name for the connecion.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 512.  
Pattern: `\S+`   
Required: No

## See Also
<a name="API_BasicAuthenticationCredentials_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/datazone-2018-05-10/BasicAuthenticationCredentials) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/datazone-2018-05-10/BasicAuthenticationCredentials) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/datazone-2018-05-10/BasicAuthenticationCredentials) 