Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am writing some values into spring vault. One of the values has characters like "@". It looks for a file instead of saving as a plain string. Is there a way to escape and use it?

I tried putting the double quotes around, with basically the same result.

storres@STorres:/mnt/c/Users/storres/Downloads/vault_1.6.1_linux_amd64$ ./vault write kv/dbcred testvalue=@abc
Failed to parse K=V data: invalid key/value pair "testvalue=@abc": error reading file: open abc: no such file or directory

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
521 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...