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

# README

Plugin for AWS Lambda to rotate Confluent Cloud API Key

logo

Requirements

Secrets (see the types definition):

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

SecretUser

A map with at least two attributes is expected as the secret to rotate:

  • API Key: is expected to be denoted as "user" by default; can be overwritten via env. variable ATTRIBUTE_KEY;
  • API Secret: is expected to be denoted as "password" by default; can be overwritten via env. variable ATTRIBUTE_SECRET.

Find details about the Confluent Cloud API keys here .

AWS Lambda Configuration

The environment variable ADMIN_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 Confluent Kafka user.

# Structs

SecretAdmin defines the secret with the db admin access details.

# Type aliases

SecretUser defines the secret with db user access details.