PathHelper.GetSecretsPathFromSecretsId(String) 方法

定义

返回存储用户机密的 JSON 文件的路径。

这将使用当前用户配置文件在源代码管理之外的位置查找磁盘上的机密文件。

public:
 static System::String ^ GetSecretsPathFromSecretsId(System::String ^ userSecretsId);
public static string GetSecretsPathFromSecretsId (string userSecretsId);
static member GetSecretsPathFromSecretsId : string -> string
Public Shared Function GetSecretsPathFromSecretsId (userSecretsId As String) As String

参数

userSecretsId
String

用户机密 ID。

返回

机密文件的完整路径。

适用于