Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Commit 9766b30

Browse files
committed
Cross account prep prod
1 parent 2ac702d commit 9766b30

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

workshop/content/crossaccount/howitworks/_index.en.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,12 @@ The diagram above illustrates what happens when CodePipeline begins a deployment
1414

1515
#### Why encrypt the artifacts?
1616

17-
AWS CodePipeline *always* stores artifacts on S3 with encryption enabled and there is no way to disable it. The default behavior is to use the AWS Managed Key to encrypt them, but this approach doesn't work for granting access to S3 buckets across accounts. Therefore you must create a KMS Customer Managed Key and then give the IAM role in the Production account permissions to use it to decrypt the artifacts.
17+
AWS CodePipeline *always* stores artifacts on S3 with encryption enabled and there is no way to disable it. The default behavior is to use the AWS Managed Key to encrypt them, but this approach doesn't work for granting access to S3 buckets across accounts. Therefore you [3] must create a KMS Customer Managed Key and then give the IAM role in the Production account permissions to use it to decrypt the artifacts.
18+
19+
#### Additional reading
20+
21+
If you want to dive deeper into the concepts of Cross Account permissions in regards to Code Pipeline, here are a couple of good reads that might help you understand it better:
22+
23+
[1] https://aws.amazon.com/blogs/devops/aws-building-a-secure-cross-account-continuous-delivery-pipeline
24+
[2] https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-create-cross-account.html
25+
[3] https://aws.amazon.com/premiumsupport/knowledge-center/cross-account-access-denied-error-s3
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
+++
2+
title = "Prepare Prod account"
3+
date = 2019-11-11T14:46:02-08:00
4+
weight = 25
5+
+++
6+

0 commit comments

Comments
 (0)