-
Notifications
You must be signed in to change notification settings - Fork 9
/
config_master_main_latest.json
596 lines (596 loc) · 17.7 KB
/
config_master_main_latest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
{
"version": "v0",
"revision": "1",
"commitTime": "1544824316",
"ui": {
"label": "Test Dataset Repository A",
"description": "Test Dataset Repository A"
},
"trustedIssuers": {
"default_ic": {
"issuer": "https://ic${YOUR_ENVIRONMENT}-dot-${YOUR_PROJECT_ID}.appspot.com/",
"clientId": "05c14eaf-c762-4dbf-b7aa-c7bab5dd41b2",
"ui": {
"label": "IC",
"description": "IC passport issuer"
},
"authUrl": "https://ic${YOUR_ENVIRONMENT}-dot-${YOUR_PROJECT_ID}.appspot.com/oauth2/auth",
"tokenUrl": "https://ic${YOUR_ENVIRONMENT}-dot-${YOUR_PROJECT_ID}.appspot.com/oauth2/token"
},
"ic_visa": {
"issuer": "https://ic${YOUR_ENVIRONMENT}-dot-${YOUR_PROJECT_ID}.appspot.com/visas",
"ui": {
"label": "IC visa",
"description": "IC visa issuer for LinkedIdentities"
}
},
"persona_broker": {
"issuer": "https://personas${YOUR_ENVIRONMENT}-dot-${YOUR_PROJECT_ID}.appspot.com/oidc",
"ui": {
"label": "Persona Broker",
"description": "Persona Broker"
}
},
"nih": {
"issuer": "https://login.nih.gov/oidc",
"translateUsing": "dbgap_translator",
"ui": {
"label": "nih passport issuer",
"description": "nih passport issuer"
}
}
},
"trustedSources": {
"nih_institutes": {
"sources": [
"https://dbgap.nlm.nih.gov/aa",
"https://nci.nih.gov",
"https://institute1.nih.gov",
"https://institute2.nih.gov",
"https://institute3.nih.gov",
"https://institute4.nih.gov"
],
"ui": {
"label": "nih institutes",
"description": "nih institutes claim source"
}
}
},
"policies": {
"bona_fide": {
"anyOf": [
{
"allOf": [
{
"type": "ResearcherStatus",
"value": "split_pattern:https://doi.org/10.1038/s41431-018-0219-y;http://www.ga4gh.org/beacon/bonafide/ver1.0",
"source": "split_pattern:nih_institutes"
}
]
}
],
"ui": {
"label": "Bona Fide",
"description": "Bona Fide researcher status",
"infoUrl": "https://doi.org/10.1038/s41431-018-0219-y#Sec6"
}
},
"nih_dac": {
"anyOf": [
{
"allOf": [
{
"type": "ControlledAccessGrants",
"value": "const:https://dac.nih.gov/datasets/${DATASET}",
"source": "split_pattern:nih_institutes",
"by": "const:dac"
}
]
}
],
"variableDefinitions": {
"DATASET": {
"regexp": "^phs\\d{6}$",
"ui": {
"description": "The name of an NIH dataset of the form 'phsXXXXXX'"
}
}
},
"ui": {
"label": "Pretend NIH Data Access Committee Approval",
"description": "Approval from a NIH DAC for the researcher to access specific datasets",
"infoUrl": "https://osp.od.nih.gov/scientific-sharing/policy-oversight/"
}
}
},
"resources": {
"test-dataset": {
"views": {
"gcs_read": {
"serviceTemplate": "gcs",
"labels": {
"version": "1.0",
"topic": "variants",
"partition": "all",
"fidelity": "normalized"
},
"contentTypes": [
"application/bam"
],
"items": [
{
"args": {
"project": "${YOUR_PROJECT_ID}",
"bucket": "${YOUR_PROJECT_ID}-test-dataset"
},
"labels": {
"geoLocation": "gcp:na/us/us-central1/us-central1-a"
}
}
],
"roles": {
"viewer": {
"policies": [
{
"name": "nih_dac",
"args": {
"DATASET": "phs000710"
}
}
]
}
},
"defaultRole": "viewer",
"ui": {
"label": "File Read",
"description": "Read files from gcs bucket"
}
}
},
"maxTokenTtl": "1h",
"ui": {
"applyUrl": "http://apply.ga4gh-apis.org",
"description": "Demo of GA4GH APIs using a subset of 1000 Genomes data. See: https://www.nature.com/articles/nature15393.",
"imageUrl": "https://upload.wikimedia.org/wikipedia/commons/5/5b/DNA_replication_%2813080697695%29.jpg",
"infoUrl": "http://info.ga4gh-apis.org",
"label": "GA4GH APIs",
"troubleshootUrl": "http://troubleshoot.ga4gh-apis.org",
"owner":"Human Genome Project",
"size":"200 GB",
"access":"controlled",
"year":"2016",
"tags":"Demo, Genomes, Research"
}
}
},
"serviceTemplates": {
"amazon-s3": {
"serviceName": "s3bucket",
"interfaces": {
"aws:s3": "s3://${bucket}",
"http:aws:s3": "https://s3.amazonaws.com/${bucket}",
"web:aws:s3": "https://s3.console.aws.amazon.com/s3/buckets/${bucket}"
},
"roles": {
"viewer": {
"serviceArgs": {
"roles": {
"values": [
"s3:GetObject",
"s3:GetBucketLocation",
"s3:ListBucket"
]
}
},
"damRoleCategories": [
"metadata",
"list",
"read"
],
"ui": {
"description": "List and read files",
"label": "File Viewer"
}
}
},
"ui": {
"description": "Amazon Simple Storage Service (S3)",
"label": "Amazon S3"
}
},
"gcs": {
"serviceName": "gcs",
"roles": {
"viewer": {
"serviceArgs": {
"roles": { "values": ["roles/storage.objectViewer"] }
},
"damRoleCategories": ["metadata", "list", "read"],
"ui": {
"label": "File Viewer",
"description": "List and read files"
}
},
"creator": {
"serviceArgs": {
"roles": { "values": ["roles/storage.objectCreator"] }
},
"damRoleCategories": ["write"],
"ui": {
"label": "File Creator",
"description": "Write files (without read access)"
}
},
"editor": {
"serviceArgs": {
"roles": {
"values": [
"roles/storage.objectViewer",
"roles/storage.objectCreator"
]
}
},
"damRoleCategories": ["metadata", "list", "read", "write"],
"ui": {
"label": "File Editor",
"description": "Read and write files plus manipulate file metadata"
}
}
},
"interfaces": {
"gcp:gs": "gs://${bucket}",
"http:gcp:gs": "https://www.googleapis.com/storage/v1/b/${bucket}"
},
"ui": {
"label": "Google Cloud Storage",
"description": "Offers Google Cloud Storage access"
}
},
"redshift": {
"serviceName": "redshift",
"interfaces": {
"http:aws:redshift:arn": "${cluster}"
},
"roles": {
"dbuser": {
"serviceArgs": {
"roles": {
"values": [
"redshift:GetClusterCredentials",
"redshift:CreateClusterUser",
"redshift:JoinGroup"
]
}
},
"damRoleCategories": [
"metadata",
"list",
"read",
"write"
],
"ui": {
"description": "Ability to login as new user with group",
"label": "DB User"
}
}
},
"ui": {
"description": "Offers AWS Redshift DB Credentials",
"label": "AWS Redshift - DB Credentials"
}
},
"redshift-console": {
"serviceName": "redshift-console",
"interfaces": {
"web:aws:redshift": "https://console.aws.amazon.com/redshiftv2/home"
},
"roles": {
"dbuser": {
"serviceArgs": {
"roles": {
"values": [
"redshift:ListSchemas",
"redshift:ListTables",
"redshift:ListDatabases",
"redshift:ExecuteQuery",
"redshift:FetchResults",
"redshift:CancelQuery",
"redshift:DescribeClusters",
"redshift:DescribeQuery",
"redshift:DescribeTable",
"redshift:ViewQueriesFromConsole",
"redshift:DescribeSavedQueries",
"redshift:CreateSavedQuery",
"redshift:DeleteSavedQueries",
"redshift:ModifySavedQuery"
]
}
},
"damRoleCategories": [
"list",
"metadata",
"read",
"write"
],
"ui": {
"description": "Ability to access the Redshift web console",
"label": "Console User"
}
}
},
"ui": {
"description": "Ability to access the Redshift web console",
"label": "AWS Redshift - Web Console"
}
}
},
"visaTypes": {
"AffiliationAndRole": {
"ui": {
"label": "Affiliation and Role",
"description": "The Identity’s role within an affiliated institution as specified by eduPerson with specific vocabulary extensions",
"infoUrl": "https://bit.ly/ga4gh-passport-v1#affiliationandrole"
}
},
"AcceptedTermsAndPolicies": {
"ui": {
"label": "Accepted Terms and Policies",
"description": "Canonical URL that indicates a researcher or organization has acknowledged the specific terms and conditions indicated by the URL",
"infoUrl": "https://bit.ly/ga4gh-passport-v1#acceptedtermsandpolicies"
}
},
"ResearcherStatus": {
"ui": {
"label": "Bona Fide Researcher Status",
"description": "Canonical URL that indicates the person has been acknowledged to be a bona fide researcher",
"infoUrl": "https://bit.ly/ga4gh-passport-v1#researcherstatus"
}
},
"ControlledAccessGrants": {
"ui": {
"label": "Controlled Access Grants",
"description": "A dataset or other object for which controlled access has been granted to this researcher",
"infoUrl": "https://bit.ly/ga4gh-passport-v1#controlledaccessgrants"
}
},
"LinkedIdentities": {
"ui": {
"label": "Linked Identities",
"description": "A set of alternative accounts or identities that have been confirmed by a specified source to also represent the same user across various platforms",
"infoUrl": "https://bit.ly/ga4gh-passport-v1#linkedidentities"
}
}
},
"testPersonas": {
"administrator": {
"ui": {
"label": "Administrator"
},
"passport": {
"standardClaims": {
"iss": "https://ic-${YOUR_PROJECT_ID}.appspot.com/oidc",
"email": "admin@nci.nih.gov",
"picture": "/identity/static/images/nih_identity.jpeg"
}
}
},
"dr_joe_elixir": {
"ui": {
"label": "Dr. Joe (Elixir)"
},
"passport": {
"standardClaims": {
"iss": "https://login.elixir-czech.org/oidc/",
"email": "dr_joe@faculty.uni-heidelberg.de",
"picture": "/identity/static/images/elixir_identity.png"
},
"ga4ghAssertions": [
{
"type": "ResearcherStatus",
"value": "https://doi.org/10.1038/s41431-018-0219-y",
"source": "https://ga4gh.org/duri/no_org",
"assertedDuration": "1d",
"expiresDuration": "30d",
"by": "peer"
},
{
"type": "AcceptedTermsAndPolicies",
"value": "https://doi.org/10.1038/s41431-018-0219-y",
"source": "https://uni-heidelberg.de",
"assertedDuration": "1d",
"expiresDuration": "30d",
"by": "self"
}
]
},
"access": [
]
},
"john": {
"ui": {
"label": "John Persona"
},
"passport": {
"standardClaims": {
"iss": "me",
"email": "john@me.example.com",
"picture": "/identity/static/images/google_identity.png"
},
"ga4ghAssertions": [
{
"type": "ControlledAccessGrants",
"source": "https://dbgap.nlm.nih.gov/aa",
"value": "https://dac.nih.gov/datasets/phs000111",
"assertedDuration": "1d",
"expiresDuration": "30d",
"by": "dac"
}
]
}
},
"dr_joe_era_commons": {
"ui": {
"label": "Dr. Joe (eRA Commons)"
},
"passport": {
"standardClaims": {
"iss": "https://login.nih.gov/oidc",
"email": "dr_joe@era.nih.gov",
"picture": "/identity/static/images/era_commons_identity.jpeg"
},
"ga4ghAssertions": [
{
"type": "AffiliationAndRole",
"source": "https://uni-heidelberg.de",
"value": "faculty@uni-heidelberg.de",
"assertedDuration": "1d",
"expiresDuration": "30d",
"by": "so"
},
{
"type": "ControlledAccessGrants",
"source": "https://dbgap.nlm.nih.gov/aa",
"value": "https://dac.nih.gov/datasets/phs000710",
"assertedDuration": "1d",
"expiresDuration": "30d",
"by": "dac",
"anyOfConditions": [
{
"allOf": [
{
"type": "AffiliationAndRole",
"value": "const:faculty@uni-heidelberg.de",
"source": "const:https://uni-heidelberg.de",
"by": "const:so"
}
]
},
{
"allOf": [
{
"type": "AffiliationAndRole",
"value": "const:faculty@uni-heidelberg.de",
"source": "const:https://login.elixir-czech.org/oidc/",
"by": "const:system"
}
]
}
]
}
]
},
"access": [
"test-dataset/gcs_read/viewer"
]
},
"nci_researcher": {
"ui": {
"label": "NCI Researcher"
},
"passport": {
"standardClaims": {
"iss": "https://login.nih.gov/oidc",
"email": "nci_researcher@nci.nih.gov",
"picture": "/identity/static/images/nih_identity.jpeg"
},
"ga4ghAssertions": [
{
"type": "ControlledAccessGrants",
"source": "https://dbgap.nlm.nih.gov/aa",
"value": "https://dac.nih.gov/datasets/phs000710",
"assertedDuration": "1d",
"expiresDuration": "30d",
"by": "dac"
},
{
"type": "ResearcherStatus",
"source": "https://nci.nih.gov",
"value": "https://doi.org/10.1038/s41431-018-0219-y",
"assertedDuration": "1d",
"expiresDuration": "30d",
"by": "so"
},
{
"type": "AcceptedTermsAndPolicies",
"source": "https://nci.nih.gov",
"value": "https://doi.org/10.1038/s41431-018-0219-y",
"assertedDuration": "1d",
"expiresDuration": "30d",
"by": "self"
}
]
},
"access": [
"test-dataset/gcs_read/viewer"
]
},
"undergrad_candice": {
"ui": {
"label": "Undergrad Candice"
},
"passport": {
"standardClaims": {
"iss": "https://login.elixir-czech.org/oidc/",
"email": "undergrad_candice@uni-heidelberg.de",
"picture": "/identity/static/images/elixir_identity.png"
}
}
},
"retired_bill": {
"ui": {
"label": "Retired Bill"
},
"passport": {
"standardClaims": {
"iss": "https://login.elixir-czech.org/oidc/",
"email": "undergrad_candice@uni-heidelberg.de",
"picture": "/identity/static/images/elixir_identity.png"
},
"ga4ghAssertions": [
{
"type": "ControlledAccessGrants",
"source": "https://dbgap.nlm.nih.gov/aa",
"value": "https://dac.nih.gov/datasets/phs000710",
"assertedDuration": "100d",
"expiresDuration": "-30d",
"by": "dac"
}
]
}
}
},
"clients": {
"test_page": {
"clientId": "903cfaeb-57d9-4ef6-5659-04377794ed65",
"ui": {
"label": "DAM Test Page",
"description": "The DAM demo test page"
},
"redirectUris": [
"/",
"http://localhost:8092/test",
"https://damdemo${YOUR_ENVIRONMENT}-dot-${YOUR_PROJECT_ID}.appspot.com/test"
],
"scope": "openid offline ga4gh_passport_v1 profile email identities",
"grantTypes": ["authorization_code", "refresh_token"],
"responseTypes": ["token", "code", "id_token"]
},
"admin_tool": {
"clientId": "0ef2f928-ba67-47b6-9cd6-288be82e3497",
"ui": {
"label": "Admin Tool",
"description": "Administrator's admin.bash tool"
},
"redirectUris": ["/"],
"scope": "openid offline ga4gh_passport_v1 profile email identities account_admin sync",
"grantTypes": ["authorization_code", "refresh_token"],
"responseTypes": ["token", "code", "id_token"]
}
},
"options": {
"readOnlyMasterRealm": true,
"gcpManagedKeysMaxRequestedTtl": "7d",
"gcpManagedKeysPerAccount": 8,
"gcpServiceAccountProject": "${YOUR_PROJECT_ID}"
}
}