Skip to content

Commit a449aed

Browse files
authored
redact credentials (#160)
1 parent 65ce47f commit a449aed

File tree

4 files changed

+30
-71
lines changed

4 files changed

+30
-71
lines changed

aws-analytics-pinpoint/src/androidTest/res/raw/amplifyconfiguration.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
"plugins": {
66
"amazonPinpointAnalyticsPlugin": {
77
"pinpointAnalytics": {
8-
"appId": "3d052968a8514a778b5a87891a98a4b7",
9-
"region": "us-west-2"
10-
},
11-
"autoFlushEventsInterval" : 1000
8+
"appId": "******",
9+
"region": "******"
10+
}
1211
}
1312
}
1413
}

aws-analytics-pinpoint/src/androidTest/res/raw/awsconfiguration.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"CredentialsProvider": {
88
"CognitoIdentity": {
99
"Default": {
10-
"PoolId": "us-west-2:f4772ffb-7de2-4487-9340-1b58e765309f",
11-
"Region": "us-west-2"
10+
"PoolId": "******",
11+
"Region": "******"
1212
}
1313
}
1414
}

aws-api/src/androidTest/res/raw/amplifyconfiguration.json

+17-57
Original file line numberDiff line numberDiff line change
@@ -4,82 +4,42 @@
44
"storage": {
55
"plugins": {
66
"awsS3StoragePlugin": {
7-
"bucket": "my-s3-bucket",
8-
"region": "us-west-2",
9-
"transferAcceleration": true
7+
"bucket": "*******",
8+
"region": "*******"
109
}
1110
}
1211
},
1312
"analytics": {
1413
"plugins": {
1514
"amazonPinpointAnalyticsPlugin": {
16-
"appId": "xx113344",
17-
"region": "us-east-1",
18-
"optOut": "ALL",
15+
"appId": "*******",
16+
"region": "*******",
17+
"optOut": "*******",
1918
"globalUserAttributes": {
2019
"interests": [
21-
"football",
22-
"basketball",
23-
"AWS"
20+
"*******",
21+
"*******",
22+
"*******"
2423
]
2524
}
2625
},
2726
"amazonKinesisAnalyticsPlugin": {
28-
"stream": "my-kinesis-stream",
29-
"partitionKey": "my-kinesis-partition-key",
30-
"region": "us-east-1"
27+
"stream": "*******",
28+
"partitionKey": "*******",
29+
"region": "*******"
3130
}
3231
}
3332
},
3433
"api": {
3534
"plugins": {
3635
"awsAPIPlugin": {
3736
"eventsApi": {
38-
"__comment": "This is in Jameson's developer account, right now.",
39-
"endpointType": "GraphQL",
40-
"endpoint": "https://57qnjcavhbdatfveg5dccboqji.appsync-api.us-west-2.amazonaws.com/graphql",
41-
"region": "us-east-1",
42-
"authorizationType": "API_KEY",
43-
"apiKey": "da2-b6dnxr7f5fchzgpi7vl5ftxogm"
44-
},
45-
"personApi": {
46-
"__comment": "This is in David's developer account, right now.",
47-
"endpointType": "GraphQL",
48-
"endpoint": "https://ek6uzvzttffmlczragsv6ipsdu.appsync-api.us-east-1.amazonaws.com/graphql",
49-
"region": "us-east-1",
50-
"authorizationType": "API_KEY",
51-
"apiKey": "da2-om5d5cekffb65agcin76nszxa4"
52-
},
53-
"projectApi": {
54-
"__comment": "This is in David's developer account, right now.",
55-
"endpointType": "GraphQL",
56-
"endpoint": "https://xsbadeypwbgozoy6hpffr2utom.appsync-api.us-east-1.amazonaws.com/graphql",
57-
"region": "us-east-1",
58-
"authorizationType": "API_KEY",
59-
"apiKey": "da2-66qwellewfcjfefzjww56luqs4"
60-
},
61-
"blogApi": {
62-
"__comment": "This is in David's developer account, right now.",
63-
"endpointType": "GraphQL",
64-
"endpoint": "https://pzoz25f54fbqxobwew5opcxbkm.appsync-api.us-east-1.amazonaws.com/graphql",
65-
"region": "us-east-1",
66-
"authorizationType": "API_KEY",
67-
"apiKey": "da2-3eha7ayvijdolcak6bmjqxxiie"
68-
},
69-
"nonAuthApi": {
70-
"__comment": "This is same configuration as of iOS tests.",
71-
"endpoint": "https://0idx6yjn11.execute-api.us-east-1.amazonaws.com/beta",
72-
"region": "us-east-1",
73-
"authorizationType": "NONE",
74-
"endpointType": "REST"
75-
},
76-
"apiKeyApi":{
77-
"__comment": "This is same configuration as of iOS tests.",
78-
"endpoint": "https://rqdxvfh3ue.execute-api.us-east-1.amazonaws.com/Prod",
79-
"region": "us-east-1",
80-
"authorizationType": "API_KEY",
81-
"apiKey": "KjbPeqbh9F7hc2n2UVkpfD8WKF1kkYX3ydrkyHq6",
82-
"endpointType": "REST"
37+
"__comment": "*******",
38+
"endpointType": "*******",
39+
"endpoint": "*******",
40+
"region": "*******",
41+
"authorizationType": "*******",
42+
"apiKey": "*******"
8343
}
8444
}
8545
}

aws-datastore/src/androidTest/res/raw/amplifyconfiguration.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
"plugins": {
66
"awsAPIPlugin": {
77
"commentsBlogApi": {
8-
"__comment": "This is in Jameson's developer account, right now.",
9-
"endpointType": "GraphQL",
10-
"endpoint": "https://q754zly6erdshd5lbeku75u6qq.appsync-api.us-east-1.amazonaws.com/graphql",
11-
"region": "us-east-1",
12-
"authorizationType": "API_KEY",
13-
"apiKey": "da2-umufvrvebnadnkv5hl3yudoj4m"
8+
"__comment": "******",
9+
"endpointType": "******",
10+
"endpoint": "******",
11+
"region": "******",
12+
"authorizationType": "******",
13+
"apiKey": "******"
1414
}
1515
}
1616
}
1717
},
1818
"dataStore": {
1919
"plugins": {
2020
"awsDataStorePlugin": {
21-
"syncMode": "api",
22-
"apiName": "commentsBlogApi"
21+
"syncMode": "******",
22+
"apiName": "******"
2323
}
2424
}
2525
}

0 commit comments

Comments
 (0)