Skip to content

Get started with Development

ProgramX-NPledger edited this page Jan 7, 2024 · 5 revisions

Clone

Configuration

Configure secrets

Secrets must be stored in a secure location and must never be submitted to source control. Secrets are not portable across servers.

In the API project directory, create a User Secrets command using:

dotnet user-secrets init

This creates a user secrets file and binds it to the unique identifier used by the .csproj file.

You must add secrets to this file using the following commands.

  1. Key used for signing JWT Tokens
    dotnet user-secrets set "Security:JwtPolicy:TokenKey" "<any-random-string-with-length-greater-than-sixty-four-characters>"

Clone this wiki locally