Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the InfluxDB Single and Multi-user Secret Rotation Lambdas #140

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

forestmvey
Copy link

Issue #, if available:

N/A

Description of changes:

The InfluxDB Single and Multi-user Secret Rotation Lambdas enables the automatic rotation for users and tokens with Timestream for InfluxDB. The Multi-user rotation lambda uses an admin authenticated session to rotate another set of user or token credentials. The Single-user rotation lambda rotates their own authenticated session, and require the appropriate permissions to perform the rotation. The Multi-user rotation lambda can be used to rotate any credentials with any permissions.

The Timestream for InfluxDB endpoint is retrieve through get_db_instance. In the case of the Multi-user rotator the authenticated client performing the rotation is the influxAuthParametersSecretArn that is created on DB initialization.

Validations:

  • - Multi-user secret rotation integration tests
  • - Single-user secret rotation integration tests
  • - Ruff formatting
  • - Ruff linting

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

* Adding the InfluxDB Single and Multi-user Secret Rotation Lambdas.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Updating deployment package path to parent directory.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Fix typos in README.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Fix formatting and removing not used variables.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

---------

Signed-off-by: forestmvey <forestv@bitquilltech.com>
Signed-off-by: forestmvey <forestv@bitquilltech.com>
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.

None yet

1 participant