I’m trying to run the inheritparentpermissions.sh bash script from the Bitwarden CLI in Debian. The script always fails with “Organization not found.”.
What I did:
modified the script as stated and created supersecretstring and entered our organization-id as shown in the organization admin console
You’re right! I checked with my personal account (family org) and I don’t have the show api keys button there. I do on my work’s account (enterprise org).
I hadn’t noticed that!
That doesn’t sound right. If you belong to 0 organizations you should not have access to the admin console.
I would:
Logout from the CLI
Login again
bw sync
bw list organizations
And contact support if it still shows no organizations.
It was my mistake, I was on the wrong server. We are hosted on the EU server, but the default seems to be bitwarden.com. Running “bw config server https://vault.bitwarden.eu” before logging in solved the issue. I have no idea why I was able to login at the other server at all. Shouldn’t be possible imho.
Is there any way to permanently set the desired server without having to run “bw config server” before every login?