From 449a45baaaa7726842358808fd505e70dde02eb3 Mon Sep 17 00:00:00 2001 From: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com> Date: Mon, 19 Apr 2021 15:40:44 -0500 Subject: [PATCH] Add root rotation statement support to mongoDB (#11404) * Add root rotation statement support to mongoDB * Add changelog --- changelog/11404.txt | 3 +++ ui/app/models/database/connection.js | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 changelog/11404.txt diff --git a/changelog/11404.txt b/changelog/11404.txt new file mode 100644 index 000000000..d45aecc25 --- /dev/null +++ b/changelog/11404.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Add root rotation statements support to appropriate database secret engine plugins +``` diff --git a/ui/app/models/database/connection.js b/ui/app/models/database/connection.js index e4fd2fcff..38efdcd10 100644 --- a/ui/app/models/database/connection.js +++ b/ui/app/models/database/connection.js @@ -20,6 +20,7 @@ const AVAILABLE_PLUGIN_TYPES = [ { attr: 'username_template', group: 'pluginConfig' }, { attr: 'tls', group: 'pluginConfig', subgroup: 'TLS options' }, { attr: 'tls_ca', group: 'pluginConfig', subgroup: 'TLS options' }, + { attr: 'root_rotation_statements', group: 'statements' }, ], }, { @@ -37,6 +38,7 @@ const AVAILABLE_PLUGIN_TYPES = [ { attr: 'max_open_connections', group: 'pluginConfig' }, { attr: 'max_idle_connections', group: 'pluginConfig' }, { attr: 'max_connection_lifetime', group: 'pluginConfig' }, + { attr: 'root_rotation_statements', group: 'statements' }, ], }, ];