Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Add creds for bitrise. Fixes #3028
Browse files Browse the repository at this point in the history
  • Loading branch information
miccolis authored and bleege committed Nov 14, 2015
1 parent 1ced39c commit c35f18f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions cloudformation/travis.template
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,37 @@
}
}
},
"BitriseUser": {
"Type": "AWS::IAM::User",
"Properties": {
"Policies": [
{
"PolicyName": "get-signing-key",
"PolicyDocument": {
"Statement": [
{
"Action": [
"s3:GetObject"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::mapbox/android/signing-credentials/secring.gpg"
]
}
]
}
}
]
}
},
"BitriseUserKey": {
"Type": "AWS::IAM::AccessKey",
"Properties": {
"UserName": {
"Ref": "BitriseUser"
}
}
},
"AndroidRole": {
"Type": "AWS::IAM::Role",
"Properties": {
Expand Down Expand Up @@ -241,6 +272,19 @@
]
}
},
"BitriseAccessKeyId": {
"Value": {
"Ref": "BitriseUserKey"
}
},
"BitriseSecretAccessKey": {
"Value": {
"Fn::GetAtt": [
"BitriseUserKey",
"SecretAccessKey"
]
}
},
"AndroidInstanceProfile": {
"Value": {
"Fn::GetAtt": [
Expand Down

0 comments on commit c35f18f

Please sign in to comment.