Commit 30f4b49
committed
feat(opensearch): flip the credential plan to oidc-jwt (Phase-D cutover LIVE)
The cluster side is done on the fleet: the OpenSearch security plugin is ENABLED
and now returns 401 to unauthenticated callers, validating Keycloak JWTs natively
(jwt auth domain, required_audience offgrid-opensearch, the service account mapped
to all_access). Demo-box choice: the REST layer stays PLAIN HTTP
(plugins.security.ssl.http.enabled=false) so the console keeps
http://127.0.0.1:9200 over loopback and only adds a Bearer — no demo-cert trust
problem, which was the blocker that had this parked.
Flipping this one line makes every OpenSearch call authenticate, because they all
route through lib/opensearch-http.ts now (previous commit). Tests updated: the
opensearch plan is asserted as oidc-jwt with baoPath opensearch/client-secret;
marquez/opa/presidio still assert none (they cannot verify a KC JWT).1 parent 3b96b6a commit 30f4b49
2 files changed
Lines changed: 19 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
69 | 78 | | |
70 | 79 | | |
71 | 80 | | |
| |||
0 commit comments