共用方式為


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

用戶密碼識別碼。

傳回

秘密檔案的完整路徑。

適用於