Vault中转引擎密钥租赁持续时间

huangapple go评论50阅读模式
英文:

Vault transit engine key lease duration

问题

以下是翻译好的部分:

"这是在使用 vault write -f transit/keys/transit_key exportable=true 命令创建HashiCorp Vault的transit引擎密钥后的输出结果:

...
“租约持续时间”: 0,
“租约ID”: “”,
“可续订”: false
...

这是否意味着密钥有效期无限?"

英文:

I see the following output after creating a key with HashiCorp vault’s transit engine using vault write -f transit/keys/transit_key exportable=true command-

...
“lease duration”: 0,
“lease_id”: “”,
“renewable”: false
...

Does this mean that the key is valid for infinity?

答案1

得分: 1

是的,这是正确的。租约持续时间为0意味着该密钥不会过期,有效期为无限。尽管通常不是一个好的安全实践将租约持续时间设置为0。

英文:

Yes, that's right. A lease duration of 0 would mean the key wouldn't expire and valid for infinity.

Though it is generally not a good security practice to set a lease duration of 0.

huangapple
  • 本文由 发表于 2023年2月8日 22:55:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/75387562.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定