首页 > 解决方案 > 如何在我的 IDE 中使用 sops 作为外部工具?

问题描述

我想使用sops在我的 IDE (Intellij) 中编辑文件,但我不确定如何最好地将其设置为外部工具。

我发现了这些相关的问题:

标签: intellij-ideamozilla-sops

解决方案


IntelliJ IDEA 至少 2020.2 现在支持--wait

https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html#arguments

我试过

export EDITOR="idea --wait"
sops secret.yaml

不幸的是,即使在想法中有消息也不起作用

Activated from command line: Command line will be waiting until the file '/Users/user/Development/../secret.yaml' has been closed.


推荐阅读