hermes - 💡(How to fix) Fix Bitwarden Secrets Manager setup should support EU/self-hosted server URL [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

This happens because bws defaults to the US API/identity endpoints unless configured otherwise. The token itself can be valid for the EU environment, but it is rejected by the US identity endpoint.

Fix Action

Fixed

Code Example

invalid_client

---

export BWS_SERVER_URL=https://vault.bitwarden.eu
hermes secrets bitwarden setup

---

secrets:
  bitwarden:
    server_url: https://vault.bitwarden.eu
RAW_BUFFERClick to expand / collapse

Hermes v0.14+ includes Bitwarden Secrets Manager support, but the setup flow appears to assume the default US Bitwarden Cloud endpoints.

For organizations on Bitwarden EU Cloud, machine-account access tokens can fail with:

invalid_client

This happens because bws defaults to the US API/identity endpoints unless configured otherwise. The token itself can be valid for the EU environment, but it is rejected by the US identity endpoint.

Working fix:

export BWS_SERVER_URL=https://vault.bitwarden.eu
hermes secrets bitwarden setup

Expected behavior:

  • hermes secrets bitwarden setup should ask for Bitwarden region/server:
    • US Cloud
    • EU Cloud
    • Self-hosted/custom
  • Or Hermes should expose a config key such as:
secrets:
  bitwarden:
    server_url: https://vault.bitwarden.eu

and pass that through to the bws subprocess environment.

Actual behavior:

  • Setup appears to assume US endpoints.
  • EU Cloud users receive invalid_client, which looks like a bad token even though the token is valid for the EU environment.

Environment:

  • Bitwarden Secrets Manager CLI: bws 2.0.0
  • Bitwarden organization hosted on EU Cloud: https://vault.bitwarden.eu
  • Hermes setup using Bitwarden Secrets Manager

Why this matters:

This makes the new Bitwarden integration harder to adopt for EU users and encourages continued .env usage, which the feature is supposed to reduce.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING