虽然工作凭据有效,但似乎删除失败,并带有“ a / b / c:bb-cc:cc-dd”之类的键
我可以在这种模式下成功创建密钥,并从中检索值。但是,在这种模式下,命令“ credstash delete”无法删除密钥。
$ credstash put -a“ a / b / c:bb-cc:cc-dd”“值” a / b / c:bb:cc-dd已存储 $ credstash删除“ a / b / c:bb-cc:cc-dd” $ credstash获得“ a / b / c:bb-cc:cc-dd” 值
尝试使用其他更简单的键模式,例如“ justAString”或什至更接近的键模式,例如“ a / b / c:bb:cc-dd”。
这就是它的工作方式
$ credstash put -a "a/b/c:bb:cc-dd" "value"
a/b/c:bb:cc-dd has been stored
$ credstash delete "a/b/c:bb:cc-dd"
Deleting a/b/c:bb:cc-dd -- version 0000000000000000001
$ credstash get "a/b/c:bb:cc-dd"
Item {'name': 'a/b/c:bb:cc-dd'} couldn't be found.
这是失败的时候
$ credstash put -a "a/b/c:bb-cc:cc-dd" "value"
a/b/c:bb:cc-dd has been stored
$ credstash delete "a/b/c:bb-cc:cc-dd"
$ credstash get "a/b/c:bb-cc:cc-dd"
value
在“ credstash delete”完成执行后,预期要删除的密钥。