Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
s3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
graboskyc committed Aug 30, 2019
1 parent e00dca3 commit dd4f948
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Stitch-CLI-Export/services/aws/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"id": "5d694e9dd2e96982b0f8e056",
"name": "aws",
"type": "aws",
"config": {
"accessKeyId": "AKIAI6GMF36N3KVD64TA"
},
"secret_config": {
"secretAccessKey": "awssec"
},
"version": 1
}
20 changes: 20 additions & 0 deletions Stitch-CLI-Export/services/aws/rules/s3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"id": "5d694ea4488bf6bc6b56f2e2",
"name": "s3",
"actions": [
"s3:PutObject",
"s3:PutObjectAcl",
"s3:GetObject",
"s3:GetObjectAcl"
],
"when": {
"%%true": {
"%function": {
"name": "isValidAdmin",
"arguments": [
"%%user"
]
}
}
}
}

0 comments on commit dd4f948

Please sign in to comment.