diff options
| author | omnom62 <omnom62@outlook.com> | 2026-08-12 14:38:00 +1000 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2026-08-26 13:33:34 -0500 |
| commit | d62e57071f2afb83879f576f6a3af5ecaa21023b (patch) | |
| tree | c46867432e1cb2e9321899590adde02506343b46 /src/migration-scripts | |
| parent | a4a52a0975ce4de70c43fa6cab1e09f55567dc35 (diff) | |
| download | vyos-1x-d62e57071f2afb83879f576f6a3af5ecaa21023b.tar.gz vyos-1x-d62e57071f2afb83879f576f6a3af5ecaa21023b.zip | |
http-api: T8989: address review comments
- Make ApiModel.key optional to allow Bearer/X-API-Key/mTLS auth
without requiring a dummy key field in the request body
- Add thread safety to REST token secret initialization
- Cast rest_token_exp and rest_secret_len to int on load
- Use defensive dict.get() for authentication config access
Diffstat (limited to 'src/migration-scripts')
0 files changed, 0 insertions, 0 deletions
