Skip to content

Default TTL unit not the one displayed #9043

@baptiste-dauphin

Description

@baptiste-dauphin

Describe the bug
When creating a new role in a pki, under Options when I modify the default 30 in unit : seconds for TTL and Max TTL by 31536000, after save, I can see that the actual TTL value recorded by Vault UI is 1892160000.

To Reproduce
Steps to reproduce the behavior:

  1. Create Pki role
  2. Set TTL value to 31536000 seconds
  3. See that the TTL is not 31536000

Expected behavior
I expect a TTL and Max TTL of 31536000 as I filled (and not 1892160000)

Environment:

  • Vault Server Version (retrieve with vault status): 1.3.4
  • Vault CLI Version (retrieve with vault version): Not Used
  • Server Operating System/Architecture: Debian 9 64 bits

Additional context
All operations are exclusively done in Vault UI
vault_role_creation
vault_role_details

Metadata

Metadata

Assignees

Labels

bugUsed to indicate a potential bugsecret/pki

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions