

# OneDriveClientCredentials
<a name="API_OneDriveClientCredentials"></a>

The client credentials for connecting to a Microsoft OneDrive data source using two-legged OAuth (2LO) certificate-based authentication. OneDrive connections access files stored in your OneDrive storage. The tenant ID and client ID are supplied through `OneDriveParameters`.

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

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

 ** CertThumbprint **   <a name="QS-Type-OneDriveClientCredentials-CertThumbprint"></a>
The thumbprint of the certificate used for two-legged OAuth (2LO) authentication to OneDrive. This field is required.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: Yes

 ** KmsKeyArn **   <a name="QS-Type-OneDriveClientCredentials-KmsKeyArn"></a>
The Amazon Resource Name (ARN) of the Amazon Key Management Service (Amazon KMS) key used to encrypt the OneDrive certificate credentials. This field is required.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `^arn:[-a-z0-9]*:kms:[-a-z0-9]*:[0-9]{12}:key/.+`   
Required: Yes

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

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