

# AccessKey


Contains information about the access keys.

## Contents


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

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

 ** userType **   <a name="guardduty-Type-AccessKey-userType"></a>
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/AccessKey) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/guardduty-2017-11-28/AccessKey) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/guardduty-2017-11-28/AccessKey) 