InfoGrab DocsInfoGrab Docs

데이터베이스 접근 AWS IAM 참조

Teleport 데이터베이스 접근을 위한 AWS IAM 정책.

Teleport Database Service는 데이터베이스 유형 및 설정에 따라 데이터베이스 서버의 엔드포인트 및 메타데이터 발견, IAM 인증 토큰 생성, IAM 역할 수임 등 다양한 작업에 대한 IAM 권한이 필요합니다. teleport db configure aws print-iam 명령으로 IAM 권한을 생성할 수 있습니다. 예를 들어, 다음 명령은 IAM 정책을 생성하고 출력합니다: $ teleport db configure aws print-iam --types rds,redshift --role teleport-db-service-role 특정 유형의 데이터베이스에 대한 IAM 권한에 대해 자세히 알아보려면 아래 관련 섹션을 참조하십시오. DocumentDB # Assign aws-account-id to your AWS account ID: { "Version" : "2012-10-17" , "Statement" : [ { "Sid" : "DocumentDBConnectAsIAMRole" , "Effect" : "Allow" , "Action" : "sts:AssumeRole" , "Resource" : [ "arn:aws:iam::aws-account-id:role/documentdb-user-role" ] } , { "Sid" : "DocumentDBCheckDomainURL" , "Effect" : "Allow" , "Action" : "rds:DescribeDBClusters" , "Resource" : "*" } ] } Statement Purpose DocumentDBConnectAsIAMRole Assume an IAM role to connect to a DocumentDB cluster with IAM authentication. DocumentDBCheckDomainURL Validate a domain's URL if it was auto-discovered by the Discovery Service. IAM 역할을 DocumentDB 데이터베이스 사용자로 사용 # The Teleport Database Service assumes a IAM role when connecting to a DocumentDB cluster with IAM authentication. Refer to Authentication using IAM Identity for more information about DocumentDB IAM authentication. To allow IAM Role teleport-db-service-role to assume IAM Role documentdb-user-role , the following is generally required: 1. Configure Trust Relationships on documentdb-user-role teleport-db-service-role or its AWS account should be set as Principal in documen