1
나는 안녕하세요 세계 AWS 프로그램을 작성했습니다. 미리 만들어진 S3 버킷에 간단한 파일 업로드.Amazon AWS 비밀 키로 C# 클라이언트 응용 프로그램 (S3)을 배포 하시겠습니까?
클라이언트 데스크톱 (인수 용)에 배포 된이 프로그램의 맥락에서 내 비밀 키는 안전한가요? 한마디로
using (AmazonS3Client a = new AmazonS3Client("MyAccessKey", "MySecretAccessKey")) {
foreach (ListViewItem lvi in listView1.Items)
{
TransferUtilityUploadRequest tr = new TransferUtilityUploadRequest()
.WithBucketName("test_mydomain_com")
.WithFilePath(((FileInfo)lvi.Tag).FullName)
.WithTimeout(5 * 60 * 1000);
TransferUtility tu = new TransferUtility(a);
tu.Upload(tr);
MessageBox.Show("Win!");
}
}
그래서 내 비밀 키를 보유하고 내 웹 서비스에 전송 작업 이름, 작업에 해시 서명을 반환 , 하고 거기 서명을 사용하는에 실시한다. – rrrhys