# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::AwsSourceDetails::AccessKeyCredentials (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::AwsSourceDetails::AccessKeyCredentials.

Message describing AWS Credentials using access key id and secret.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #access_key_id

    def access_key_id() -> ::String

**Returns**

- (::String) --- AWS access key ID.

### #access_key_id=

    def access_key_id=(value) -> ::String

**Parameter**

- **value** (::String) --- AWS access key ID.
**Returns**

- (::String) --- AWS access key ID.

### #secret_access_key

    def secret_access_key() -> ::String

**Returns**

- (::String) --- Input only. AWS secret access key.

### #secret_access_key=

    def secret_access_key=(value) -> ::String

**Parameter**

- **value** (::String) --- Input only. AWS secret access key.
**Returns**

- (::String) --- Input only. AWS secret access key.

### #session_token

    def session_token() -> ::String

**Returns**

- (::String) --- Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.

### #session_token=

    def session_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
**Returns**

- (::String) --- Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.