Commit 9ae4396
Remove legacy GitHub auth args from ELM migrations create (device flow only) (#1512)
* Remove service connection and GitHub token auth from ELM migrations create (device flow only)
The server now supports third-party app auth (Git.EnterpriseLiveMigration.EnableThirdPartyAppAuth), so GitHub authentication for 'az devops migrations create' is handled entirely via interactive device flow.
- Remove --service-endpoint-id and --github-token args (and ELM_GITHUB_TOKEN env var)
- Device flow is now the only GitHub auth path; token is resolved from device flow and sent as gitHubUserToken
- Update help text, examples, and unit tests accordingly
* docs(elm): device-flow-only auth for migrations create
Remove --github-token / ELM_GITHUB_TOKEN / --service-endpoint-id references from ELM docs; document interactive device flow as the sole GitHub auth path.
* Remove preview labels from ELM migrations command groups and docs
* Revert "Remove preview labels from ELM migrations command groups and docs"
This reverts commit 74475fc.
---------
Co-authored-by: Demo User <[email protected]>1 parent ad7deee commit 9ae4396
6 files changed
Lines changed: 41 additions & 312 deletions
File tree
- azure-devops/azext_devops
- dev/migration
- tests/latest/migration
- doc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 72 | | |
80 | 73 | | |
81 | 74 | | |
| |||
91 | 84 | | |
92 | 85 | | |
93 | 86 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 87 | | |
100 | 88 | | |
101 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
180 | | - | |
| 179 | + | |
181 | 180 | | |
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
187 | | - | |
188 | | - | |
189 | 186 | | |
190 | 187 | | |
191 | 188 | | |
| |||
202 | 199 | | |
203 | 200 | | |
204 | 201 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
| 202 | + | |
213 | 203 | | |
214 | 204 | | |
215 | 205 | | |
| |||
225 | 215 | | |
226 | 216 | | |
227 | 217 | | |
228 | | - | |
229 | | - | |
230 | 218 | | |
231 | 219 | | |
232 | 220 | | |
| |||
251 | 239 | | |
252 | 240 | | |
253 | 241 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
| 242 | + | |
263 | 243 | | |
264 | 244 | | |
265 | 245 | | |
| |||
285 | 265 | | |
286 | 266 | | |
287 | 267 | | |
288 | | - | |
| 268 | + | |
| 269 | + | |
289 | 270 | | |
290 | 271 | | |
291 | 272 | | |
| |||
394 | 375 | | |
395 | 376 | | |
396 | 377 | | |
397 | | - | |
| 378 | + | |
398 | 379 | | |
399 | 380 | | |
400 | 381 | | |
| |||
0 commit comments