Skip to content

Clean up output spew when creating token and secret for the first time #42474

Description

@captainsafia
❯ dotnet user-jwts create
Could not find the global property 'UserSecretsId' in MSBuild project '/Users/captainsafia/tests/TrainingApi/TrainingApi.csproj'. Ensure this property is set in the project or use the '--id' command line option.
Set UserSecretsId to 'e6ad86ca-443b-4910-b51c-f124905748e9' for MSBuild project '/Users/captainsafia/tests/TrainingApi/TrainingApi.csproj'.
New JWT saved with ID 'da7a1347'.
Name: captainsafia

Token: [redacted]

Should not print out the logs around creating user secrets in the file above.

Metadata

Metadata

Assignees

Labels

area-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIfeature-userjwtsThe `dotnet user-jwts` CLI toolold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions