vault: Restrict kv_version

... to that only valid values are accepted.

Change-Id: I1e9ec4558f01e3138aabeca3213f8986ba8559e6
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2026-01-27 17:11:18 +09:00
parent 111d7341f3
commit fd8237fe94
2 changed files with 2 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ _vault_opts = [
),
cfg.IntOpt('kv_version',
default=_DEFAULT_VERSION,
choices=(1, 2),
help='Version of KV store in Vault to use, for example: '
'{}'.format(_DEFAULT_VERSION)),
cfg.StrOpt('vault_url',

View File

@@ -5,7 +5,7 @@
pbr>=2.0.0 # Apache-2.0
cryptography>=2.7 # BSD/Apache-2.0
python-barbicanclient>=5.5.0 # Apache-2.0
oslo.config>=6.4.0 # Apache-2.0
oslo.config>=9.3.0 # Apache-2.0
oslo.context>=2.19.2 # Apache-2.0
oslo.i18n>=3.15.3 # Apache-2.0
oslo.log>=3.36.0 # Apache-2.0