cloudformation/codepipeline-example.yaml [43:56]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  rOrchestrationKmsKey:
    Type: AWS::KMS::Key
    Properties:
      Description: Used by CodePipeline to encrypt / decrypt artifacts
      EnableKeyRotation: true
      KeyPolicy:
        Version: '2012-10-17'
        Id: !Ref AWS::StackName
        Statement:
          - Sid: Allow access for Key Administrators
            Effect: Allow
            Principal:
              AWS:
                - !Sub arn:aws:iam::${AWS::AccountId}:root
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



cloudformation/codepipeline-sep-acc-example.yaml [73:86]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  rOrchestrationKmsKey:
    Type: AWS::KMS::Key
    Properties:
      Description: Used by CodePipeline to encrypt / decrypt artifacts
      EnableKeyRotation: true
      KeyPolicy:
        Version: '2012-10-17'
        Id: !Ref AWS::StackName
        Statement:
          - Sid: Allow access for Key Administrators
            Effect: Allow
            Principal:
              AWS:
                - !Sub arn:aws:iam::${AWS::AccountId}:root
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



