我只是在s3中浏览预签名的URL,想知道是否可以代替使用SDK?generate pre-signed URL from console
另外,有没有办法 set a time-limit for the expiration of pre-signed URL from console, based on few other post on stack the default time limit is 7 days, how to override this value?
到目前为止,还没有。Web控制台中没有选项来生成签名URL。
关于第二个问题;是的,您可以使用SDK覆盖默认的URL到期时间。
AWS CLI示例:
aws s3 presign s3://<bucket-name>/<file-name> --expires-in <seconds>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句