I am attempting to use Secrets Manager a Lambda function in AWS. Secrets a manager is used to store database credentials to Snowflake (username, password).
I managed
AWS provide some template for some supported database engines such as MySQL etc, please take a look at this template:
For unsupported db, check this
The template provided above will give you an example for customizing for your own function.