Nushell 中的 get-credential/export-clixml/import-clixml 等效项

get-credential/export-clixml/import-clixml equivalents in nushell

提问人:Alejandro Bermúdez 提问时间:3/24/2023 更新时间:4/18/2023 访问量:249

问:

我经常在powershell中使用此命令以安全的方式(密码加密)存储凭据(用户和密码):

get-credential | export-clixml mycredentials.xml

为了恢复我的凭据,我可以使用:

$cred=import-clixml .\mycredentials.xml

密码是加密和安全的,如果有人盗走了我的文件,它不能在另一台机器上使用,甚至不能被同一台机器上的其他用户使用。

我怎样才能在 nushell 中做同样的事情? 提前致谢。

到目前为止,我还没有在您的文档中找到类似的命令或选项。

nushell的

评论


答:

0赞 Darren 4/18/2023 #1

目前,没有内置的 nushell 替代方案。