ButterCMS / dotnet-starter-buttercms

Drop-in proof-of-concept .NET app, fully integrated with your ButterCMS account
https://dotnet-starter-buttercms.herokuapp.com/
0 stars 2 forks source link

API Hero language #15

Closed ViolanteCodes closed 2 years ago

ViolanteCodes commented 2 years ago

API hero for no butter token refers to setting secrets in .env file, but dotnet secrets are set with "dotnet secrets"

https://share.getcloudapp.com/jkuXJ9YY

Since the env token language is used for hosting only, can we change this language to:

Set your API token with dotnet user-secrets set "ButterCMSAPIKey" "Your API Token" --project ButterCMS.Starter, or for hosted deployments, add your token to environment variables as ButterCMSAPIKey".