1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
Commit graph

20 commits

Author SHA1 Message Date
Wesley Beary
df73d7bdc1
Fix typo in readme 2022-08-25 06:36:10 -05:00
Lucas Ocon
6d0c4c8e44
Update README file
Add example to get a download url
2022-06-24 17:46:36 -03:00
hchouraria
6ca4f0bb70
Merge branch 'master' into user-configurable-iam-credentials-refresh-threshold 2022-03-07 18:22:14 +05:30
Harsh Chouraria
92827e574c Prior to this change the behavior of the library has been
to refresh the credential from IAM only after its in the last
15 seconds of its life according to its expired_at field

This poses a problem when using the library to generate short
lived pre-signed URLs in AWS S3 where the issued URLs
with temporary tokens expire the same time as the IAM credential
that generated them:
https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html

For example, if the credentials is in its last 16 seconds of life
and a token has been generated for pre-signed URLs with a life
request of 10 minutes, the URL ends up living only 16 seconds.

By allowing the caller to configure the refresh threshold a
larger buffer of time can be specified when using IAM credentials
allowing for the generated URLs to life a more definitive time.

This change adds a configuration option that can be passed by
callers to expand (or narrow) the threshold of time used by the
refresh credentials mechanism to decide if a new token needs
to be fetched.

Configuration option is called
'aws_credentials_refresh_threshold_seconds'

Following the same example, setting this new option to 10 minutes
can help guarantee that pre-signed URLs generated for 10 minutes
will always last that long.
2022-03-07 18:20:33 +05:30
Orrin Naylor
3124da9cb7 Add warning messages around directories.get 2022-03-03 22:02:14 -07:00
geemus
f03bd6c98a update build status readme badge to github actions 2021-06-06 07:11:10 -05:00
geemus
fda2e51e80 fix typo with actions status badge 2021-03-21 10:03:23 -05:00
geemus
bdc20138da focus on ruby v2.3+ for github action tests 2021-03-21 09:56:34 -05:00
Stan Hu
68ae08a784 Disable concurrency in copy case by default
Remove dependency on concurrent-ruby

Add documentation for copying files
2020-11-19 12:14:20 -08:00
Gustavo Sobral
6fb9c3c807 Add bin/setup and bin/console with instructions on README 2019-11-11 22:09:40 +01:00
Gustavo Sobral
c6b98a3a4c Add S3 examples to README 2019-11-11 22:09:09 +01:00
Kyle Fox
dde01794f4
Include link to full documentation
Unless I've completely missed it, I can't easily find a link to the (excellent) documentation for `fog-aws` — it'd be nice to include it directly in the README.
2018-03-14 15:32:01 -06:00
Suraj Shirvankar
81786b90a8 Update README.md
Use high res badge
2016-03-02 23:33:41 +04:00
Ryunosuke SATO
312b127379 Fix repository URL in README.md 2015-04-17 18:36:56 +09:00
Miguel Landaeta
03bf7abaff Update README.md
Remove dummy credentials and public IP address by more obvious settings to clarify the examples.
2015-04-14 11:09:35 -03:00
Miguel Landaeta
3cac22c10c Update README.md 2015-04-13 18:29:11 -03:00
Josh Lane
367f79f0c5 README.md badge formatting 2015-01-05 10:35:35 -08:00
Josh Lane
ec4b596418 fix coverage badge 2015-01-05 10:33:26 -08:00
Josh Lane
617c50eeb8 all the badges 2015-01-02 11:00:04 -08:00
Josh Lane
095fa8763f initial commit 2014-12-30 14:20:57 -08:00