Skip to content

Commit

Permalink
ROPC on secure user data /2 (#33639)
Browse files Browse the repository at this point in the history
* ROPC on secure user data /2

* ROPC on secure user data /2

* Update aspnetcore/security/authorization/secure-data.md
  • Loading branch information
Rick-Anderson committed Sep 19, 2024
1 parent 81f25cc commit 3b0db3b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions aspnetcore/security/authorization/secure-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ The `SeedData` class creates two accounts: administrator and manager. Use the [S
dotnet user-secrets set SeedUserPW <PW>
```

If a strong password is not specified, an exception is thrown when `SeedData.Initialize` is called.
If a weak password is specified, an exception is thrown when `SeedData.Initialize` is called.

Update the app to use the test password:

Expand Down Expand Up @@ -288,9 +288,12 @@ In the preceding code:

## Test the completed app

> [!WARNING]
> This article uses the [Secret Manager tool](xref:security/app-secrets) to store the password for the seeded user accounts. The Secret Manager tool is used to store sensitive data during local development. For more information on authentication for deployed test and production apps, see [Secure authentication flows](xref:security/index#secure-authentication-flows).
If you haven't already set a password for seeded user accounts, use the [Secret Manager tool](xref:security/app-secrets#secret-manager) to set a password:

* Choose a strong password: Use eight or more characters and at least one upper-case character, number, and symbol. For example, `Passw0rd!` meets the strong password requirements.
* Choose a strong password: Use eight or more characters and at least one upper-case character, number, and symbol.
* Execute the following command from the project's folder, where `<PW>` is the password:

```dotnetcli
Expand Down

0 comments on commit 3b0db3b

Please sign in to comment.