Accessing AWS Secret Manager outside the AWS environment (such as development evironment set up in our laptop i.e. local machine)

0

Hi community,

We are new to AWS Secret Manger and we recently decided to adopt it as it's a secure way to store all the credentials, access keys, etc. One of the cloud expert mentioned that the secret manager CLI can be accessed only within AWS VPC. However, we are curious on ** whether AWS secret manager services (e.g., via CLI) can be accessed outside the AWS envrionment (such as development evironment set up in our laptop i.e. local machine) **as long as the IAM user has the appropriate permissions set to read the Secret Manager keys, without any needs for VPC/VPN or so.

1개 답변
1

Hi,

You do not have to use a VPC or need to be within a VPC to access AWS Secrets Manager. As you have mentioned, the CLI is one way of interaction. In the documentation is a tutorial for creating and retrieving secrets from Secrets Manager: https://docs.aws.amazon.com/secretsmanager/latest/userguide/tutorials_basic.html

For completeness - You have the option to not use the public api over the internet and instead use a VPC endpoint. This can be a compliance / regulatory requirement. Here is an blog post covering that in more detail: https://aws.amazon.com/blogs/security/how-to-connect-to-aws-secrets-manager-service-within-a-virtual-private-cloud/

AWS
답변함 2년 전

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

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

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

관련 콘텐츠