Merge branch '21383-misc-fixes'. Refs #21383
[arvados.git] / services / api / test / fixtures / api_client_authorizations.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
6
7 system_user:
8   uuid: zzzzz-gj3su-017z32aux8dg2s1
9   api_client: untrusted
10   user: system_user
11   api_token: systemusertesttoken1234567890aoeuidhtnsqjkxbmwvzpy
12   expires_at: 2038-01-01 00:00:00
13
14 admin:
15   uuid: zzzzz-gj3su-027z32aux8dg2s1
16   api_client: untrusted
17   user: admin
18   api_token: 4axaw8zxe0qm22wa6urpp5nskcne8z88cvbupv653y1njyi05h
19   expires_at: 2038-01-01 00:00:00
20
21 admin_trustedclient:
22   uuid: zzzzz-gj3su-037z32aux8dg2s1
23   api_client: trusted_workbench
24   user: admin
25   api_token: 1a9ffdcga2o7cw8q12dndskomgs1ygli3ns9k2o9hgzgmktc78
26   expires_at: 2038-01-01 00:00:00
27
28 data_manager:
29   uuid: zzzzz-gj3su-047z32aux8dg2s1
30   api_client: untrusted
31   user: system_user
32   api_token: 320mkve8qkswstz7ff61glpk3mhgghmg67wmic7elw4z41pke1
33   expires_at: 2038-01-01 00:00:00
34   scopes:
35     - GET /arvados/v1/collections
36     - GET /arvados/v1/keep_services
37     - GET /arvados/v1/keep_services/accessible
38     - GET /arvados/v1/users/current
39     - POST /arvados/v1/logs
40
41 miniadmin:
42   uuid: zzzzz-gj3su-057z32aux8dg2s1
43   api_client: untrusted
44   user: miniadmin
45   api_token: 2zb2y9pw3e70270te7oe3ewaantea3adyxjascvkz0zob7q7xb
46   expires_at: 2038-01-01 00:00:00
47
48 rominiadmin:
49   uuid: zzzzz-gj3su-067z32aux8dg2s1
50   api_client: untrusted
51   user: rominiadmin
52   api_token: 5tsb2pc3zlatn1ortl98s2tqsehpby88wmmnzmpsjmzwa6payh
53   expires_at: 2038-01-01 00:00:00
54
55 active:
56   uuid: zzzzz-gj3su-077z32aux8dg2s1
57   api_client: untrusted
58   user: active
59   api_token: 3kg6k6lzmp9kj5cpkcoxie963cmvjahbt2fod9zru30k1jqdmi
60   expires_at: 2038-01-01 00:00:00
61
62 active_trustedclient:
63   uuid: zzzzz-gj3su-087z32aux8dg2s1
64   api_client: trusted_workbench
65   user: active
66   api_token: 27bnddk6x2nmq00a1e3gq43n9tsl5v87a3faqar2ijj8tud5en
67   expires_at: 2038-01-01 00:00:00
68
69 active_noscope:
70   uuid: zzzzz-gj3su-097z32aux8dg2s1
71   api_client: untrusted
72   user: active
73   api_token: activenoscopeabcdefghijklmnopqrstuvwxyz12345678901
74   expires_at: 2038-01-01 00:00:00
75   scopes: []
76
77 project_viewer:
78   uuid: zzzzz-gj3su-107z32aux8dg2s1
79   api_client: untrusted
80   user: project_viewer
81   api_token: projectviewertoken1234567890abcdefghijklmnopqrstuv
82   expires_at: 2038-01-01 00:00:00
83
84 project_viewer_trustedclient:
85   uuid: zzzzz-gj3su-117z32aux8dg2s1
86   api_client: trusted_workbench
87   user: project_viewer
88   api_token: projectviewertrustedtoken1234567890abcdefghijklmno
89   expires_at: 2038-01-01 00:00:00
90
91 subproject_admin:
92   uuid: zzzzz-gj3su-127z32aux8dg2s1
93   api_client: untrusted
94   user: subproject_admin
95   api_token: subprojectadmintoken1234567890abcdefghijklmnopqrst
96   expires_at: 2038-01-01 00:00:00
97
98 admin_vm:
99   uuid: zzzzz-gj3su-137z32aux8dg2s1
100   api_client: untrusted
101   user: admin
102   api_token: adminvirtualmachineabcdefghijklmnopqrstuvwxyz12345
103   expires_at: 2038-01-01 00:00:00
104   # scope refers to the testvm fixture.
105   scopes: ["GET /arvados/v1/virtual_machines/zzzzz-2x53u-382brsig8rp3064/logins"]
106
107 admin_noscope:
108   uuid: zzzzz-gj3su-147z32aux8dg2s1
109   api_client: untrusted
110   user: admin
111   api_token: adminnoscopeabcdefghijklmnopqrstuvwxyz123456789012
112   expires_at: 2038-01-01 00:00:00
113   scopes: []
114
115 active_all_collections:
116   uuid: zzzzz-gj3su-157z32aux8dg2s1
117   api_client: untrusted
118   user: active
119   api_token: activecollectionsabcdefghijklmnopqrstuvwxyz1234567
120   expires_at: 2038-01-01 00:00:00
121   scopes: ["GET /arvados/v1/collections/", "GET /arvados/v1/keep_services/accessible"]
122
123 active_userlist:
124   uuid: zzzzz-gj3su-167z32aux8dg2s1
125   api_client: untrusted
126   user: active
127   api_token: activeuserlistabcdefghijklmnopqrstuvwxyz1234568900
128   expires_at: 2038-01-01 00:00:00
129   scopes: ["GET /arvados/v1/users"]
130
131 active_apitokens:
132   uuid: zzzzz-gj3su-187z32aux8dg2s1
133   api_client: trusted_workbench
134   user: active
135   api_token: activeapitokensabcdefghijklmnopqrstuvwxyz123456789
136   expires_at: 2038-01-01 00:00:00
137   scopes: ["GET /arvados/v1/api_client_authorizations",
138            "POST /arvados/v1/api_client_authorizations"]
139
140 active_readonly:
141   uuid: zzzzz-gj3su-197z32aux8dg2s1
142   api_client: untrusted
143   user: active
144   api_token: activereadonlyabcdefghijklmnopqrstuvwxyz1234568790
145   expires_at: 2038-01-01 00:00:00
146   scopes: ["GET /"]
147
148 spectator:
149   uuid: zzzzz-gj3su-207z32aux8dg2s1
150   api_client: untrusted
151   user: spectator
152   api_token: zw2f4gwx8hw8cjre7yp6v1zylhrhn3m5gvjq73rtpwhmknrybu
153   expires_at: 2038-01-01 00:00:00
154
155 foo:
156   uuid: zzzzz-gj3su-fohzae5ib1aseiv
157   api_client: untrusted
158   user: user_foo_in_sharing_group
159   api_token: lokah4xip8ahgee8oof5zitah3ohdai6je9cu1uogh4bai3ohw
160   expires_at: 2038-01-01 00:00:00
161
162 foo_collections:
163   uuid: zzzzz-gj3su-217z32aux8dg2s1
164   api_client: untrusted
165   user: user_foo_in_sharing_group
166   api_token: spectatorcollectionscdefghijklmnopqrstuvwxyz123245
167   expires_at: 2038-01-01 00:00:00
168   scopes: ["GET /arvados/v1/collections", "GET /arvados/v1/collections/",
169            "POST /arvados/v1/collections"]
170
171 inactive:
172   uuid: zzzzz-gj3su-227z32aux8dg2s1
173   api_client: untrusted
174   user: inactive
175   api_token: 5s29oj2hzmcmpq80hx9cta0rl5wuf3xfd6r7disusaptz7h9m0
176   expires_at: 2038-01-01 00:00:00
177
178 inactive_uninvited:
179   uuid: zzzzz-gj3su-237z32aux8dg2s1
180   api_client: untrusted
181   user: inactive_uninvited
182   api_token: 62mhllc0otp78v08e3rpa3nsmf8q8ogk47f7u5z4erp5gpj9al
183   expires_at: 2038-01-01 00:00:00
184
185 inactive_uninvited_trustedclient:
186   uuid: zzzzz-gj3su-228z32aux8dg2s1
187   api_client: trusted_workbench
188   user: inactive_uninvited
189   api_token: 7s29oj2hzmcmpq80hx9cta0rl5wuf3xfd6r7disusaptz7h9m0
190   expires_at: 2038-01-01 00:00:00
191
192 inactive_but_signed_user_agreement:
193   uuid: zzzzz-gj3su-247z32aux8dg2s1
194   api_client: untrusted
195   user: inactive_but_signed_user_agreement
196   api_token: 64k3bzw37iwpdlexczj02rw3m333rrb8ydvn2qq99ohv68so5k
197   expires_at: 2038-01-01 00:00:00
198
199 expired:
200   uuid: zzzzz-gj3su-257z32aux8dg2s1
201   api_client: untrusted
202   user: active
203   api_token: 2ym314ysp27sk7h943q6vtc378srb06se3pq6ghurylyf3pdmx
204   expires_at: 1970-01-01 00:00:00
205
206 expired_trustedclient:
207   uuid: zzzzz-gj3su-267z32aux8dg2s1
208   api_client: trusted_workbench
209   user: active
210   api_token: 5hpni7izokzcatku2896xxwqdbt5ptomn04r6auc7fohnli82v
211   expires_at: 1970-01-01 00:00:00
212
213 valid_token_deleted_user:
214   uuid: zzzzz-gj3su-277z32aux8dg2s1
215   api_client: trusted_workbench
216   user_id: 1234567
217   api_token: tewfa58099sndckyqhlgd37za6e47o6h03r9l1vpll23hudm8b
218   expires_at: 2038-01-01 00:00:00
219
220 anonymous:
221   uuid: zzzzz-gj3su-287z32aux8dg2s1
222   api_client: untrusted
223   user: anonymous
224   api_token: 4kg6k6lzmp9kj4cpkcoxie964cmvjahbt4fod9zru44k4jqdmi
225   expires_at: 2038-01-01 00:00:00
226   scopes: ["GET /"]
227
228 job_reader:
229   uuid: zzzzz-gj3su-297z32aux8dg2s1
230   api_client: untrusted
231   user: job_reader
232   api_token: e99512cdc0f3415c2428b9758f33bdfb07bc3561b00e86e7e6
233   expires_at: 2038-01-01 00:00:00
234
235 job_reader2:
236   uuid: zzzzz-gj3su-jobreader2auth1
237   api_client: untrusted
238   user: job_reader2
239   api_token: jobreader2415c2428b9758f33bdfb07bc3561b0jobreader2
240   expires_at: 2038-01-01 00:00:00
241
242 active_no_prefs:
243   uuid: zzzzz-gj3su-307z32aux8dg2s1
244   api_client: untrusted
245   user: active_no_prefs
246   api_token: 3kg612cdc0f3415c2428b9758f33bdfb07bc3561b00e86qdmi
247   expires_at: 2038-01-01 00:00:00
248
249 active_no_prefs_profile_no_getting_started_shown:
250   uuid: zzzzz-gj3su-317z32aux8dg2s1
251   api_client: untrusted
252   user: active_no_prefs_profile_no_getting_started_shown
253   api_token: 3kg612cdc0f3415c242856758f33bdfb07bc3561b00e86qdmi
254   expires_at: 2038-01-01 00:00:00
255
256 active_no_prefs_profile_with_getting_started_shown:
257   uuid: zzzzz-gj3su-327z32aux8dg2s1
258   api_client: untrusted
259   user: active_no_prefs_profile_with_getting_started_shown
260   api_token: 3kg612cdc0f3415c245786758f33bdfb07babcd1b00e86qdmi
261   expires_at: 2038-01-01 00:00:00
262
263 active_with_prefs_profile_no_getting_started_shown:
264   uuid: zzzzz-gj3su-337z32aux8dg2s1
265   api_client: untrusted
266   user: active_with_prefs_profile_no_getting_started_shown
267   api_token: 3kg612cdc0f3415c245786758f33bdfb07befgh1b00e86qdmi
268   expires_at: 2038-01-01 00:00:00
269
270 user_foo_in_sharing_group:
271   uuid: zzzzz-gj3su-347z32aux8dg2s1
272   api_client: untrusted
273   user: user_foo_in_sharing_group
274   api_token: 2p1pou8p4ls208mcbedeewlotghppenobcyrmyhq8pyf51xd8u
275   expires_at: 2038-01-01 00:00:00
276
277 user_bar_in_sharing_group:
278   uuid: zzzzz-gj3su-62hryf5fht531mz
279   api_client: untrusted
280   user: user_bar_in_sharing_group
281   api_token: 5vy55akwq85vghh80wc2cuxl4p8psay73lkpqf5c2cxvp6rmm6
282   expires_at: 2038-01-01 00:00:00
283
284 user1_with_load:
285   uuid: zzzzz-gj3su-357z32aux8dg2s1
286   api_client: untrusted
287   user: user1_with_load
288   api_token: 1234k6lzmp9kj5cpkcoxie963cmvjahbt2fod9zru30k1jqdmi
289   expires_at: 2038-01-01 00:00:00
290
291 fuse:
292   uuid: zzzzz-gj3su-367z32aux8dg2s1
293   api_client: untrusted
294   user: fuse
295   api_token: 4nagbkv8eap0uok7pxm72nossq5asihls3yn5p4xmvqx5t5e7p
296   expires_at: 2038-01-01 00:00:00
297
298 dispatch1:
299   uuid: zzzzz-gj3su-k9dvestay1plssr
300   api_client: untrusted
301   user: system_user
302   api_token: kwi8oowusvbutahacwk2geulqewy5oaqmpalczfna4b6bb0hfw
303   expires_at: 2038-01-01 00:00:00
304
305 dispatch2:
306   uuid: zzzzz-gj3su-jrriu629zljsnuf
307   api_client: untrusted
308   user: system_user
309   api_token: pbe3v4v5oag83tjwxjh0a551j44xdu8t7ol5ljw3ixsq8oh50q
310   expires_at: 2038-01-01 00:00:00
311
312 running_container_auth:
313   uuid: zzzzz-gj3su-077z32aux8dg2s2
314   api_client: untrusted
315   user: active
316   api_token: it2gl94mgu3rbn5s2d06vzh73ns1y6cthct0tvg82qdlsxvbwk
317   expires_at: 2038-01-01 00:00:00
318
319 running_container_with_logs_auth:
320   uuid: zzzzz-gj3su-n4xycwjpvvi776n
321   api_client: untrusted
322   user: active
323   api_token: mkpdp5jbytt471lw9so1by2t5ylciojdur845rfn4dtm0etl33
324   expires_at: 2038-01-01 00:00:00
325
326 running_to_be_deleted_container_auth:
327   uuid: zzzzz-gj3su-ty6lvu9d7u7c2sq
328   api_client: untrusted
329   user: active
330   api_token: ge1pez7dkk7nqntwcsj922g2b7a2t27xz6nsx39r15kbcqmp55
331   expires_at: 2038-01-01 00:00:00
332
333 permission_perftest:
334   uuid: zzzzz-gj3su-077z32anoj93boo
335   api_client: untrusted
336   user: permission_perftest
337   api_token: 3kg6k6lzmp9kjabonentustoecn5bahbt2fod9zru30k1jqdmi
338   expires_at: 2038-01-01 00:00:00
339
340 foo_collection_sharing_token:
341   uuid: zzzzz-gj3su-gf02tdm4g1z3e3u
342   api_client: untrusted
343   user: active
344   api_token: iknqgmunrhgsyfok8uzjlwun9iscwm3xacmzmg65fa1j1lpdss
345   expires_at: 2038-01-01 00:00:00
346   scopes:
347   - GET /arvados/v1/collections/zzzzz-4zz18-znfnqtbbv4spc3w
348   - GET /arvados/v1/collections/zzzzz-4zz18-znfnqtbbv4spc3w/
349   - GET /arvados/v1/keep_services/accessible
350
351 container_runtime_token:
352   uuid: zzzzz-gj3su-2nj68s291f50gd9
353   api_client: untrusted
354   user: container_runtime_token_user
355   api_token: 2d19ue6ofx26o3mm7fs9u6t7hov9um0v92dzwk1o2xed3abprw
356   expires_at: 2038-01-01 00:00:00
357
358 crt_user:
359   uuid: zzzzz-gj3su-3r47qqy5ja5d54v
360   api_client: untrusted
361   user: container_runtime_token_user
362   api_token: 13z1tz9deoryml3twep0vsahi4862097pe5lsmesugnkgpgpwk
363   expires_at: 2038-01-01 00:00:00
364
365 runtime_token_limited_scope:
366   uuid: zzzzz-gj3su-2fljvypjrr4yr9m
367   api_client: untrusted
368   user: container_runtime_token_user
369   api_token: 1fwc3be1m13qkypix2gd01i4bq5ju483zjfc0cf4babjseirbm
370   expires_at: 2038-01-01 00:00:00
371   scopes: ["GET /"]