PathHelper.GetSecretsPathFromSecretsId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.