Set up Datastore for S3 Archive, with Role Based credentials
조회 수: 3 (최근 30일)
이전 댓글 표시
I have an AWS S3 Archive and would like to access data. However, the permissions to access the S3 archive are Role Based, not individual accounts. In that case, how do I set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY?? Thanks.
댓글 수: 4
Piyush Kumar
2024년 5월 15일
편집: Piyush Kumar
2024년 5월 15일
Hi Kevin,
If the permissions to access the S3 archive are Role-Based, you would not need to set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY for each user. Instead, you may create an IAM role that has the necessary permissions and attach it to your EC2 instance. This way, any application running on the instance will have the necessary permissions to access the S3 archive.
If you want to access S3 from EC2, these documentations should help -
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!