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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ