

# AccessKeyDetails
<a name="API_AccessKeyDetails"></a>

Contains information about the access keys.

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

 ** accessKeyId **   <a name="guardduty-Type-AccessKeyDetails-accessKeyId"></a>
The access key ID of the user.  
Type: String  
Required: No

 ** principalId **   <a name="guardduty-Type-AccessKeyDetails-principalId"></a>
The principal ID of the user.  
Type: String  
Required: No

 ** userName **   <a name="guardduty-Type-AccessKeyDetails-userName"></a>
The name of the user.  
Type: String  
Required: No

 ** userType **   <a name="guardduty-Type-AccessKeyDetails-userType"></a>
The type of the user.  
Type: String  
Required: No

## See Also
<a name="API_AccessKeyDetails_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/guardduty-2017-11-28/AccessKeyDetails) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/guardduty-2017-11-28/AccessKeyDetails) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/guardduty-2017-11-28/AccessKeyDetails) 