Skip to content

Add AWS SecretsManager support#23

Merged
hynek merged 3 commits intohynek:mainfrom
offbyone:aws-secrets-manager
May 17, 2021
Merged

Add AWS SecretsManager support#23
hynek merged 3 commits intohynek:mainfrom
offbyone:aws-secrets-manager

Conversation

@offbyone
Copy link
Contributor

@offbyone offbyone commented May 1, 2021

  • Move secrets to a package to ease selective import
  • Add AWS SecretsManager support

Pull Request Check List

This is just a friendly reminder about the most common mistakes. Please make sure that you tick all boxes. But please read our contribution guide at least once, it will save you unnecessary review cycles!

If an item doesn't apply to your pull request, check it anyway to make it apparent that there's nothing left to do.

  • Added tests for changed code.
  • Updated documentation for changed code.
    • New functions/classes have to be added to docs/api.rst by hand.
    • Changed/added classes/methods/functions have appropriate versionadded, versionchanged, or deprecated directives. Find the appropriate next version in our __init__.py file.
  • Documentation in .rst files is written using semantic newlines.
  • Changes (and possible deprecations) are documented in the changelog.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!

@offbyone offbyone force-pushed the aws-secrets-manager branch 3 times, most recently from 5b80bf4 to df63f03 Compare May 2, 2021 06:33
* moved some shared secrets code into secrets._utils
* add moto/boto dependencies (the latter being optional)
@offbyone offbyone force-pushed the aws-secrets-manager branch from df63f03 to d1b5bb3 Compare May 2, 2021 06:44
Copy link
Owner

@hynek hynek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor stuff. I mean I don't know jack about AWS so those parts I'll have to trust you. :)

@@ -0,0 +1,101 @@
# Copyright 2021 Chris Rose
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unprecedented in the code base – is it really necessary or is it some template boilerplate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's an equivalent with "Hynek" at the top of every other module; I was following suit.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, it's weird to have files with a different copyright holder but I shall tolerate your charming presence forevermore!

@offbyone offbyone requested a review from hynek May 15, 2021 03:38
- reformat docstrings
- link the AWS SecretsManager product page
- explicitly name pytest fixtures to avoid accidental direct use
@offbyone offbyone force-pushed the aws-secrets-manager branch from 29a80c6 to bc17192 Compare May 17, 2021 07:42
@@ -0,0 +1,101 @@
# Copyright 2021 Chris Rose
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, it's weird to have files with a different copyright holder but I shall tolerate your charming presence forevermore!

@hynek hynek merged commit 0582a6c into hynek:main May 17, 2021
@hynek
Copy link
Owner

hynek commented May 17, 2021

Thanks!

hynek added a commit that referenced this pull request May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants