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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则