Commit b1ce406
committed
feat(aliyun): implement metadata token authentication
- Add token-based authentication for metadata requests
- Implement token caching and automatic refresh
- Update metadata retrieval functions to use token authentication
- Handle token expiration and unauthorized access errors
- Remove unnecessary error handling code
Signed-off-by: l1b0k <[email protected]>1 parent 85d2aab commit b1ce406
File tree
5 files changed
+654
-98
lines changed- daemon
- pkg
- aliyun/metadata
- metric
5 files changed
+654
-98
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
230 | | - | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
0 commit comments