Skip to content

Commit

Permalink
docs: same thing for password.md
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Bartolomey <github@alexanderbartolomey.de>
  • Loading branch information
zoomoid committed Apr 19, 2024
1 parent a745dfe commit a67c3eb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/resources/password.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ Generate hashes of provided password string

```hcl
resource "random_password" "password" {
length = 30
length = 30
special = true
special_override = "!@#%&*()-_=+[]{}<>:?"
}
resource "random_password" "salt" {
length = 8
length = 8
special = true
special_override = "!@#%&*()-_=+[]{}<>:?"
}
resource "htpasswd_password" "hash" {
password = random_password.password.result
salt = random_password.salt.result
Expand Down

0 comments on commit a67c3eb

Please sign in to comment.