Due to some security reason client not want to share S3 Access Key and Secret Key. Is there any way to connect our DMS microservice without these keys.
3 Likes
Yes, We can easily connect our DMS microservice to S3 without Access Key and Secret Key.
Please follow below steps:
- Create a S3 role with all required permission on AWS console.
- Attached that role to EC2 Instance where DMS microservice is running.
- Update StorageDetails.json in DMS microservice:
{
“storageIdWithoutKeys”: {
“storageType”: “S3”,
“bucket”: “your-bucket-name”,
“isCredentialsRequired”: “N”,
“region”: “your-region”,
“bucketType”: “private”,
“fetchType”: “view”
},
“storageIdWithKeys”: {
“storageType”: “S3”,
“secureKey”: “your-secure-key”,
“accessKey”: “your-access-key”,
“bucket”: “your-bucket-name”,
“region”: “your-region”,
“bucketType”: “public”,
“fetchType”: “download”
}
}
6 Likes