Fix database sample payload doc (#19170)

* * fix database static-user rotation statement in sample payload

* + added changelog
This commit is contained in:
Max Coulombe 2023-02-14 08:29:27 -05:00 committed by GitHub
parent dda2df25db
commit 2c32190eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

3
changelog/19170.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:improvement
website/docs: fix database static-user sample payload
```

View File

@ -519,7 +519,7 @@ this in order to know the password.
"db_name": "mysql",
"username": "static-database-user",
"rotation_statements": [
"ALTER USER \"{{name}}\" WITH PASSWORD '{{password}}';"
"ALTER USER \"{{name}}\" IDENTIFIED BY '{{password}}';"
],
"rotation_period": "1h"
}
@ -565,7 +565,7 @@ $ curl \
"db_name": "mysql",
"username": "static-user",
"rotation_statements": [
"ALTER USER \"{{name}}\" WITH PASSWORD '{{password}}';"
"ALTER USER \"{{name}}\" IDENTIFIED BY '{{password}}';"
],
"rotation_period": "1h"
}