mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 12:27:28 +00:00
Update keyringwrapper.go
This commit is contained in:
@@ -27,9 +27,9 @@ func SetValueInKeyring(key, value string) error {
|
|||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
configFile, _ := GetConfigFile()
|
configFile, _ := GetConfigFile()
|
||||||
PrintWarning("System keyring could not be used, switching to `file` vault for local token storage\n\nYou can persist your file vault passphrase by running the following command:\ninfisical vault set file --passphrase <your-passphrase>\n")
|
|
||||||
|
|
||||||
if configFile.VaultBackendPassphrase == "" {
|
if configFile.VaultBackendPassphrase == "" {
|
||||||
|
PrintWarning("System keyring could not be used, falling back to `file` vault for sensitive data storage.")
|
||||||
passphrasePrompt := promptui.Prompt{
|
passphrasePrompt := promptui.Prompt{
|
||||||
Label: "Enter the passphrase to use for keyring encryption",
|
Label: "Enter the passphrase to use for keyring encryption",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user