Skip to content

Commit

Permalink
Merge pull request #6567 from zalando-incubator/okta-Administrator
Browse files Browse the repository at this point in the history
Add new okta based Administrator role to KMS keys
  • Loading branch information
linki authored Oct 31, 2023
2 parents c579700 + a59104b commit 3d6b699
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cluster/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ Resources:
{{- end }}
- !Sub "arn:aws:iam::${AWS::AccountId}:role/cluster-lifecycle-manager-entrypoint"
- !Sub "arn:aws:iam::${AWS::AccountId}:role/Shibboleth-Administrator"
- !Sub "arn:aws:iam::${AWS::AccountId}:role/Administrator"
DeploymentControllerRole:
Type: AWS::IAM::Role
Properties:
Expand Down Expand Up @@ -1992,6 +1993,7 @@ Resources:
AWS:
- !Sub "arn:aws:iam::${AWS::AccountId}:role/cluster-lifecycle-manager-entrypoint"
- !Sub "arn:aws:iam::${AWS::AccountId}:role/Shibboleth-Administrator"
- !Sub "arn:aws:iam::${AWS::AccountId}:role/Administrator"
Action:
- "kms:*"
- "tag:TagResources"
Expand Down Expand Up @@ -2027,7 +2029,9 @@ Resources:
- Sid: "Allow Administrator to manage and use this key"
Effect: "Allow"
Principal:
AWS: !Sub "arn:aws:iam::${AWS::AccountId}:role/Shibboleth-Administrator"
AWS:
- !Sub "arn:aws:iam::${AWS::AccountId}:role/Shibboleth-Administrator"
- !Sub "arn:aws:iam::${AWS::AccountId}:role/Administrator"
Action:
- "kms:*"
- "tag:TagResources"
Expand Down Expand Up @@ -2065,6 +2069,7 @@ Resources:
AWS:
- !Sub "arn:aws:iam::${AWS::AccountId}:role/cluster-lifecycle-manager-entrypoint"
- !Sub "arn:aws:iam::${AWS::AccountId}:role/Shibboleth-Administrator"
- !Sub "arn:aws:iam::${AWS::AccountId}:role/Administrator"
Action:
- "kms:*"
- "tag:TagResources"
Expand Down Expand Up @@ -2101,6 +2106,7 @@ Resources:
AWS:
- !Sub "arn:aws:iam::${AWS::AccountId}:role/cluster-lifecycle-manager-entrypoint"
- !Sub "arn:aws:iam::${AWS::AccountId}:role/Shibboleth-Administrator"
- !Sub "arn:aws:iam::${AWS::AccountId}:role/Administrator"
Action:
- "kms:*"
- "tag:TagResources"
Expand Down

0 comments on commit 3d6b699

Please sign in to comment.