Add creds for bitrise. Fixes #3028
This commit is contained in:
committed by
Brad Leege
parent
1ced39cbd1
commit
c35f18fdbc
@@ -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": {
|
||||
@@ -241,6 +272,19 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"BitriseAccessKeyId": {
|
||||
"Value": {
|
||||
"Ref": "BitriseUserKey"
|
||||
}
|
||||
},
|
||||
"BitriseSecretAccessKey": {
|
||||
"Value": {
|
||||
"Fn::GetAtt": [
|
||||
"BitriseUserKey",
|
||||
"SecretAccessKey"
|
||||
]
|
||||
}
|
||||
},
|
||||
"AndroidInstanceProfile": {
|
||||
"Value": {
|
||||
"Fn::GetAtt": [
|
||||
|
||||
Reference in New Issue
Block a user