Merge pull request #1440 from ursm/bws
Fix Bitwarden Secrets Manager authentication checks
This commit is contained in:
@@ -57,7 +57,7 @@ class Kamal::Secrets::Adapters::BitwardenSecretsManager < Kamal::Secrets::Adapte
|
|||||||
end
|
end
|
||||||
|
|
||||||
def login(account)
|
def login(account)
|
||||||
run_command("run 'echo OK'")
|
run_command("project list")
|
||||||
raise RuntimeError, "Could not authenticate to Bitwarden Secrets Manager. Did you set a valid access token?" unless $?.success?
|
raise RuntimeError, "Could not authenticate to Bitwarden Secrets Manager. Did you set a valid access token?" unless $?.success?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user