Releases: kislerdm/aws-lambda-secret-rotation
Releases · kislerdm/aws-lambda-secret-rotation
plugin/neon/v0.1.3
[v0.1.3] - 2023-01-28
Changed
- Bumped
github.com/kislerdm/aws-lambda-secret-rotation
to v0.1.2
plugin/confluent/v0.1.1
[v0.1.1] - 2023-01-28
Fixed
- Memory allocation for
cfg.SecretObj
to reuse the type in theSet
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
[v0.1.0] - 2023-01-27
Added
- Lambda to rotate Confluent Cloud Kafka credentials
v0.1.1
[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
tolambda.Start
function to initialize AWS Lambda - was: The main function
Start(cfg Config)
wraps the
functionlambda.Start
to initialize AWS Lambda
- now: The main function
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
[v0.1.2] - 2023-01-25
Changed
- Bumped
github.com/kislerdm/aws-lambda-secret-rotation
to v0.1.1
plugin/neon/v0.1.1
[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
[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)
}