From 25c74f63da2d01fe31204e151ba36e3952a0acb1 Mon Sep 17 00:00:00 2001 From: maxcoulombe Date: Mon, 13 Feb 2023 14:30:50 -0500 Subject: [PATCH 1/2] * fix database static-user rotation statement in sample payload --- website/content/api-docs/secret/databases/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" } From 0fa829f0fa62062cae2583faa83472381a14363b Mon Sep 17 00:00:00 2001 From: maxcoulombe Date: Mon, 13 Feb 2023 14:33:45 -0500 Subject: [PATCH 2/2] + added changelog --- changelog/19170.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelog/19170.txt 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 +```