PathHelper.GetSecretsPathFromSecretsId(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回儲存使用者秘密的 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
用戶密碼識別碼。
傳回
秘密檔案的完整路徑。