IT Curation 자세히보기

CLOUD/AWS

AWS | Secrets manager

icf_ 2022. 12. 14. 14:54

terrform에 RDS기반 Database생성시 DB암호 보안을 위해 사용할 수 있음.

https://ap-northeast-2.console.aws.amazon.com/secretsmanager/landing?region=ap-northeast-2 

 

https://ap-northeast-2.console.aws.amazon.com/secretsmanager/landing?region=ap-northeast-2

 

ap-northeast-2.console.aws.amazon.com

설정 후

 

테라폼에서 뽑아오는방법

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/secretsmanager_secret_version

 

Terraform Registry

 

registry.terraform.io

data "aws_secretsmanager_secret_version" "secret-version" {
  secret_id = data.aws_secretsmanager_secret.example.id
}

sicret_id = ssm의 보안암호이름 대입.

 

728x90