public sealed class AwsSourceDetails.Types.AccessKeyCredentials : IMessage<AwsSourceDetails.Types.AccessKeyCredentials>, IEquatable<AwsSourceDetails.Types.AccessKeyCredentials>, IDeepCloneable<AwsSourceDetails.Types.AccessKeyCredentials>, IBufferMessage, IMessage
Reference documentation and code samples for the VM Migration v1 API class AwsSourceDetails.Types.AccessKeyCredentials.
Message describing AWS Credentials using access key id and secret.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eAwsSourceDetails.Types.AccessKeyCredentials\u003c/code\u003e class within the VM Migration v1 API, which handles AWS credential management using access key IDs and secrets.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessKeyCredentials\u003c/code\u003e class can be constructed either with no parameters or by using another instance of \u003ccode\u003eAccessKeyCredentials\u003c/code\u003e to create a copy.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two key properties, \u003ccode\u003eAccessKeyId\u003c/code\u003e and \u003ccode\u003eSecretAccessKey\u003c/code\u003e, both of which are string types and handle the AWS access key ID and its corresponding secret access key.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e, allowing for flexible data handling and comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides links to different versions of the API, ranging from version 1.0.0 to the latest 2.6.0.\u003c/p\u003e\n"]]],[],null,["# VM Migration v1 API - Class AwsSourceDetails.Types.AccessKeyCredentials (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.5.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.4.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.3.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.2.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.1.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.0.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/1.0.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials) \n\n public sealed class AwsSourceDetails.Types.AccessKeyCredentials : IMessage\u003cAwsSourceDetails.Types.AccessKeyCredentials\u003e, IEquatable\u003cAwsSourceDetails.Types.AccessKeyCredentials\u003e, IDeepCloneable\u003cAwsSourceDetails.Types.AccessKeyCredentials\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the VM Migration v1 API class AwsSourceDetails.Types.AccessKeyCredentials.\n\nMessage describing AWS Credentials using access key id and secret. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AwsSourceDetails.Types.AccessKeyCredentials \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AwsSourceDetails](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails)[Types](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types)[AccessKeyCredentials](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AwsSourceDetails](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails)[Types](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types)[AccessKeyCredentials](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AwsSourceDetails](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails)[Types](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types)[AccessKeyCredentials](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.AccessKeyCredentials), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.VMMigration.V1](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.VMMigration.V1.dll\n\nConstructors\n------------\n\n### AccessKeyCredentials()\n\n public AccessKeyCredentials()\n\n### AccessKeyCredentials(AccessKeyCredentials)\n\n public AccessKeyCredentials(AwsSourceDetails.Types.AccessKeyCredentials other)\n\nProperties\n----------\n\n### AccessKeyId\n\n public string AccessKeyId { get; set; }\n\nAWS access key ID.\n\n### SecretAccessKey\n\n public string SecretAccessKey { get; set; }\n\nInput only. AWS secret access key."]]