小编ben*_*l80的帖子

Presigned URL for private S3 bucket displays AWS access key id and bucket name. Is this a security issue?

AWS Access Key ID for IAM user is displayed in img src

I want to serve static files, images specifically, for my flask app on heroku using a private S3 bucket.

I created a pre-signed url using boto3 with the access key ID and secret key of an IAM user with permissions. I used that url as the src for the img in my html file.

I looked at the url that it generates and it displays the bucket name …

python amazon-s3 amazon-web-services flask boto3

2
推荐指数
1
解决办法
1409
查看次数

标签 统计

amazon-s3 ×1

amazon-web-services ×1

boto3 ×1

flask ×1

python ×1