Get a Secrets Manager secret value using Python - Amazon Secrets Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Get a Secrets Manager secret value using Python

In applications, you can retrieve your secrets by calling GetSecretValue or BatchGetSecretValuein any of the Amazon SDKs. However, we recommend that you cache your secret values by using client-side caching. Caching secrets improves speed and reduces your costs.