Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add faq link when key ring error

Maidul Islamee0a95c1db43
diff --git a/cli/packages/cmd/login.go b/cli/packages/cmd/login.go
index de9e60bf8e..9c0c229309 100644
--- a/cli/packages/cmd/login.go
+++ b/cli/packages/cmd/login.go
@@ -91,7 +91,9 @@ var loginCmd = &cobra.Command{
err = util.StoreUserCredsInKeyRing(userCredentialsToBeStored)
if err != nil {
- log.Errorln("Unable to store your credentials in system key ring. Run with flag -d to see full logs")
+ currentVault, _ := util.GetCurrentVaultBackend()
+ log.Errorf("Unable to store your credentials in system vault [%s]. Rerun with flag -d to see full logs", currentVault)
+ log.Errorln("To trouble shoot further, read https://infisical.com/docs/cli/faq")
log.Debugln(err)
return
}