Categorygithub.com/kislerdm/aws-lambda-secret-rotation/plugin/neon

# README

Plugin for AWS Lambda to reset Neon User's Password

logo

Go Report Card codecov

Neon is a fully managed serverless PostgreSQL with a generous free tier. Neon separates storage and compute and offers modern developer features such as serverless, branching, bottomless storage, and more. Neon is open source and written in Rust.

Find more about Neon here.

Requirements

Secrets (see the types definition):

  • Secret Admin shall be compliant with the type SecretAdmin
  • Secret User shall be compliant with the type SecretUser

AWS Lambda Configuration

The environment variable NEON_TOKEN_SECRET_ARN must contain the Secret Admin' s ARN.

Optionally, the environment variable DEBUG can be set to "yes", or "true" to activate debug level logs.

# Packages

No description provided by the author

# Functions

NewServiceClient initiates the `ServiceClient` to rotate credentials for Neon user.

# Structs

SecretAdmin defines the secret with the db admin access details.
SecretUser defines the secret with db user access details.