Skip to content

Releases: AdRoll/s3-keyring

0.10.0

18 Jun 10:02
da4d383
Compare
Choose a tag to compare

Consolidate click dependency and fix build-cache error handling

click>=7 introduces a breaking change where underscores in functions become dashes in the corresponding CLI command (so a function build_cache must be invoked via the CLI build-cache command).

  • bump the minimum version for click dependency from >=5 to >=7
  • also add an upper-bound to prevent similar issues from happening again (version 8.x was included in the range because it doesn't seem to include breaking changes that would affect s3keyring)
  • update README to reflect the usage of dashes in CLI command(s)
  • Fix build_cache error logic: currently if one of the secrets fail to be fetched/parsed (notably due to utf-8 decoding errors) either the execution crashes with an UnboundLocalError (if this occurs when processing the first secret) or the secret is assigned the value from the previous loop iteration (i.e the content of the secret processed just before the one failing)
  • Add a --strict flag to raise an error instead of updating the s3 json cache file in case of errors (defaults to False). NOTE: the error is raised after looping through all the secrets so that all the failed secrets are printed before failing (which helps the user to troubleshoot all secrets instead of having to fix them one by one)

0.9.0

08 May 10:39
1859f12
Compare
Choose a tag to compare

Fix py2 keyring dependency and drop awscli

0.8.0.post6

26 Jun 21:59
ab82391
Compare
Choose a tag to compare

This updates the pinned version of keyring so we can use python versions 3.10+.

0.8.0.post1: Merge pull request #12 from AdRoll/py39-compat

22 Oct 16:17
d87f56c
Compare
Choose a tag to compare

0.7.1.post1

18 May 14:19
aa373ab
Compare
Choose a tag to compare

ContextType defaults to text/plain so aws_s3_bucket_object can be used to retrieve secrets using Terraform.