You can now use the Amazon S3 Transfer Manager (Developer Preview)
Working with AWS Secrets Manager
AWS Secrets Manager helps you protect secrets needed to access your applications, services, and IT resources. See the following resources for complete code examples with instructions.
Link to AWS Code Sample Catalog