1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
The best security practices recommend to not store anything confidential like keys, passwords, etc. in code.
I would suggest you to use AWS Secrets Manager from your Sagemaker code (probably Pyhton?). The Python AWS SDK makes it easy for you to use Secrets Manager from Python code.
You have an example here: https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets_cache-python.html
Best,
Didier
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago