Condividi tramite


PathHelper.GetSecretsPathFromSecretsId(String) Method

Definition

Returns the path to the JSON file that stores user secrets.

This uses the current user profile to locate the secrets file on disk in a location outside of source control.

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

Parameters

userSecretsId
String

The user secret ID.

Returns

The full path to the secret file.

Applies to