AWS CDK Boto 3 Unit Testing - How to mock Boto3 secrets manager

Viewed 233

Anyone have ideas on how to mock a boto3 secrets manager client's get_secret_value method in a separate method without passing the client to the method? Stuck on this for days, now. Any ideas, links to possible working code on github would be appreciated.

0 Answers
Related