Skip to content

Releases: kislerdm/aws-lambda-secret-rotation

plugin/neon/v0.1.3

28 Jan 13:35
7b2e86c
Compare
Choose a tag to compare

[v0.1.3] - 2023-01-28

Changed

  • Bumped github.com/kislerdm/aws-lambda-secret-rotation to v0.1.2

plugin/confluent/v0.1.1

28 Jan 13:34
7b2e86c
Compare
Choose a tag to compare

[v0.1.1] - 2023-01-28

Fixed

  • Memory allocation for cfg.SecretObj to reuse the type in the Set method
  • Added missing logic to remove the previous version of the API Key from the Confluent Cloud access management system

Changed

  • Bumped github.com/kislerdm/aws-lambda-secret-rotation to v0.1.2

plugin/confluent/v0.1.0

27 Jan 21:04
97553b4
Compare
Choose a tag to compare

[v0.1.0] - 2023-01-27

Added

  • Lambda to rotate Confluent Cloud Kafka credentials

v0.1.1

24 Jan 23:13
af90a3d
Compare
Choose a tag to compare

[v0.1.1] - 2023-01-25

Changed

  • Changed the module's façade API:
    • now: The main function NewHandler(cfg Config) is used to initialise the Lambda handler used as the input
      to lambda.Start
      function to initialize AWS Lambda
    • was: The main function Start(cfg Config) wraps the
      function lambda.Start
      to initialize AWS Lambda

An example:

package main

import (
	"log"
	"os"
	
	"github.com/aws/aws-lambda-go/lambda"
	
	secretRotation "github.com/kislerdm/aws-lambda-secret-rotation"
)

func main()  {
	/* ... */
	handler, err := secretRotation.NewHandler(
		secretRotation.Config{
			/* ... */
			Debug: secretRotation.StrToBool(os.Getenv("DEBUG")),
		},
	)
	if err != nil {
		log.Fatalf("unable to init lambda handler to rotate secret, %v", err)
	}

	lambda.Start(handler)
}

plugin/neon/v0.1.2

24 Jan 23:14
af90a3d
Compare
Choose a tag to compare

[v0.1.2] - 2023-01-25

Changed

  • Bumped github.com/kislerdm/aws-lambda-secret-rotation to v0.1.1

plugin/neon/v0.1.1

23 Jan 18:41
85dcf89
Compare
Choose a tag to compare

[v0.1.1] - 2023-01-23

Fix

  • Attached pre-built binaries to be deployed as AWS Lambda

Changed

  • Fixed changelog's header tagging

plugin/neon/v0.1.0

23 Jan 12:27
da36cfa
Compare
Choose a tag to compare

[v0.1.0] - 2023-01-22

Added

  • Implements ServiceClient interface to communicate with Neon SaaS to
    rotate user's access password:
package main

import (
	serviceClient "github.com/kislerdm/aws-lambda-secret-rotation/plugin/neon"
	sdk "github.com/kislerdm/neon-sdk-go"
)

func main() {
	neonSDK, err := sdk.NewClient(sdk.WithAPIKey("foobarbazqux"))
	if err != nil {
		panic(err)
	}

	_ = serviceClient.NewServiceClient(neonSDK)
}

v0.1.0

23 Jan 12:26
e6a1714
Compare
Choose a tag to compare

[v0.1.0] - 2023-01-22

Added

  • Lambda handler
  • Interfaces for clients to communicate with the AWS Secretsmanager and the service delegated secrets storage