Skip to content

Commit

Permalink
BB-366: add gc read_accounts policies
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderchan-scality committed Jun 15, 2023
1 parent 45a5417 commit 498171a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ jobs:
extensions/lifecycle/objectProcessor/policy.json:application/vnd.iam-policy+json \
extensions/lifecycle/objectProcessor/policy_transition.json:application/vnd.iam-policy+json \
extensions/gc/policy.json:application/vnd.iam-policy+json \
policies/queue_populator_policy.json:application/vnd.iam-policy+json
policies/queue_populator_policy.json:application/vnd.iam-policy+json \
policies/read_accounts.json:application/vnd.iam-policy+json
- name: Build and push
uses: docker/build-push-action@v4
Expand Down
11 changes: 11 additions & 0 deletions policies/read_accounts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "ReadAccounts",
"Effect": "Allow",
"Action": [
"vaultadmin:GetAccountInfo"
],
"Resource": "arn:aws:iam::*:root"
}]
}

0 comments on commit 498171a

Please sign in to comment.