summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2026-10-26 22:46:53 +1000
committerGitHub <noreply@github.com>2026-10-26 14:46:53 +0200
commitee810434422fa47c403dfe3fed5af9ca1c738128 (patch)
treed28d9fc9fa207400f0a11ce1dcf0b4f54e692851 /changelogs
parent41781e7a16e73fdca1f26c677ed3645ca2a8a3d0 (diff)
downloadrest.vyos-ee810434422fa47c403dfe3fed5af9ca1c738128.tar.gz
rest.vyos-ee810434422fa47c403dfe3fed5af9ca1c738128.zip
T8989: auth_methods (#42)
* https: T8989: auth_methods AI comments and conflicts fixed
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/t8989_auth_methods.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/changelogs/fragments/t8989_auth_methods.yml b/changelogs/fragments/t8989_auth_methods.yml
new file mode 100644
index 0000000..9044d19
--- /dev/null
+++ b/changelogs/fragments/t8989_auth_methods.yml
@@ -0,0 +1,19 @@
+minor_changes:
+ - vyos httpapi plugin - add support for four additional authentication
+ methods against the VyOS REST API - ``header`` (API key sent as an
+ ``X-API-Key`` header), ``bearer`` (a VyOS-issued bearer token, fetched
+ once and cached until it expires), ``mtls`` (mutual TLS, with no
+ application-level credential sent at all), and ``oidc`` (a bearer
+ token obtained from an external OpenID Connect provider via the
+ client_credentials grant, likewise fetched and cached) - selectable
+ via the new ``auth_method`` option. The existing API-key-in-the-request-body
+ behaviour remains the default, so no change is required for existing
+ inventories.
+ - vyos httpapi plugin - the OIDC token endpoint must use ``https``, because
+ the request carries the client secret and the response carries a bearer
+ token. A plain ``http`` endpoint (for example a lab identity provider) is
+ accepted only with the new ``oidc_allow_insecure_http`` option, which logs
+ a warning, and other URL schemes are never accepted. Certificate
+ validation of the token endpoint can be turned off for a self-signed lab
+ provider with ``oidc_validate_certs``, and the request is bounded by
+ ``oidc_timeout``.