

# AccessKeyDetails


Contains information about the access keys.

## Contents


 ** 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


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/guardduty-2017-11-28/AccessKeyDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/guardduty-2017-11-28/AccessKeyDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/guardduty-2017-11-28/AccessKeyDetails) 