diff --git a/changelog/19170.txt b/changelog/19170.txt new file mode 100644 index 000000000000..9a421dd183a2 --- /dev/null +++ b/changelog/19170.txt @@ -0,0 +1,3 @@ +```release-note:improvement +website/docs: fix database static-user sample payload +``` diff --git a/website/content/api-docs/secret/databases/index.mdx b/website/content/api-docs/secret/databases/index.mdx index 9150144855a9..0d80764b719d 100644 --- a/website/content/api-docs/secret/databases/index.mdx +++ b/website/content/api-docs/secret/databases/index.mdx @@ -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" }