auth response for getting token is taking more than 6 sec.
Can someone please help us to find the root cause of this issue.
Same configuration is working on one site and issue is coming on other site.
PS: There is no change wrt configuration and resource wise.
Please find below config details:
- vault version : Vault v1.5.2
- consul version: 1.8.3
- Storage Backend : consul
- Auth Mechanism : approle
- Secret Engine : KV
Please find below request and response time while performing authentication using roleid:
date;vault write auth/approle/login role_id=KMS secret_id=21pyVm59+fnGzkNJngxk7BMIS9yQERvQk2FHtq/6g98=;date
Tue Jul 13 15:35:14 IST 2021
Key Value
token s.64DhCQqE0pRSEGFinDjAvcvH
token_accessor j6106fSYVxOvEAEJ8X6Igol7
token_duration 30m
token_renewable true
token_policies [“xxxx”]
identity_policies
policies [“xxxx”]
token_meta_role_name kms
Tue Jul 13 15:35:20 IST 2021
As per the above snapshot its taking 6 sec.
Response for login, get kv data, put kv data is with in a sec.