You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm adding default_extension to existing role in SSH secret engine with using Web UI. After it I tried to edit another setting in that same role without changing default_extension causes default_extension to be empty. Also changing default_extension when there is value causes it to become empty.
I have tested that this default extensions works properly when connecting to server when its value is not empty.
Allow user Certificates: (checked)
Allowed users: *
Allowed domains: *
TTL: 5 minutes (enabled)
Max TTL: 1 days (enabled)
Allowed extensions: permit-X11-forwarding,permit-agent-forwarding,permit-port-forwarding,permit-pty,permit-user-rc
Allow bare domains: (checked)
Allow subdomains: (checked)
Everything else is default.
5. Edit existing role and adding default_extensions
6. Edit existing role again and changing e.g. TTL to 30 seconds.
8. See error in Default extensions.
Expected behavior
Keep existing options when changing other options. Default extension shouldn't be empty after changing value of other option. This is affecting also Default critical options as well.
Environment:
Vault Server Version (retrieve with vault status):
Key Value
--- -----
Seal Type shamir
Initialized true
Sealed false
Total Shares 1
Threshold 1
Version 1.14.0
Build Date 2023-06-19T11:40:23Z
Storage Type raft
Cluster Name vault-cluster-REDACTED
Cluster ID REDACTED
HA Enabled true
HA Cluster https://[REDACTED]:8201
HA Mode active
Active Since 2023-07-04T07:45:09.45531346Z
Raft Committed Index 1010356
Raft Applied Index 1010356
Vault CLI Version (retrieve with vault version):
Vault v1.14.0 (13a649f860186dffe3f3a4459814d87191efc321), built 2023-06-19T11:40:23Z
This affects also default critical options in SSH Role.
cwchristerw
changed the title
Edit default_extension twice in SSH Role with UI cause value to be empty
Edit default_extension twice in SSH Role with Web UI cause value to be empty
Jul 5, 2023
cwchristerw
changed the title
Edit default_extension twice in SSH Role with Web UI cause value to be empty
Editing role twice in SSH secret engine cause default_extension to be empty using Web UI
Jul 5, 2023
Describe the bug
I'm adding default_extension to existing role in SSH secret engine with using Web UI. After it I tried to edit another setting in that same role without changing default_extension causes default_extension to be empty. Also changing default_extension when there is value causes it to become empty.
I have tested that this default extensions works properly when connecting to server when its value is not empty.
Default extensions
To Reproduce
Steps to reproduce the behavior:
Everything else is default.
5. Edit existing role and adding default_extensions
6. Edit existing role again and changing e.g. TTL to 30 seconds.
8. See error in Default extensions.
Expected behavior
Keep existing options when changing other options. Default extension shouldn't be empty after changing value of other option. This is affecting also Default critical options as well.
Environment:
vault status
):vault version
):Vault server configuration file(s):
Additional context
I'm using Ansible to deploy Hashicorp Vault.
The text was updated successfully, but these errors were encountered: