0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AWS Secrets ManagerにDB接続情報を登録する

0
Last updated at Posted at 2026-05-16

Secrets Managerとは

Secrets Managerは、パスワードやAPIキー等の機密性が高い情報を安全に管理するためのAWSサービス。今回はDB接続情報を記載するために使用する。(.envファイルに記載している内容)
image.png
アプリ内へ直接記載せずに管理できるため漏洩の防止につながる。

作成手順

以下の画面から新しいシークレットの保存を押下
image.png

以下2枚の内容で保存する
image.png

image.png

image.png
IAMロール等で権限を付与したAWSサービスから参照できるようになる(参照する際の設定方法は別記事に記載)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?