Is it safe to store the secrets in the SageMaker studio Jupyter App instance ?

0

Is it safe to store some of the secrets (ex: SSH keys, external application creds) in SageMaker studio Jupyter App instance ? Of course Secrets Manager is the recommended way of storing the secrets but if we ensure that this SageMaker user profile (and hence the Jupyter App) is not accessible by any user other than me, by configuring the necessary permissions, is it fine to store the secrets there ? Thank you.

kalmesh
질문됨 7달 전296회 조회
1개 답변
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

profile pictureAWS
전문가
답변함 7달 전
profile picture
전문가
검토됨 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인