at_server icon indicating copy to clipboard operation
at_server copied to clipboard

fix: Introduce time duration for apkam keys to auto expire

Open sitaram-kalluri opened this issue 5 months ago • 0 comments

- What I did

  • Introduce APKAM keys to auto expire after specified time duration.

- How I did it

  • In at_commons, introduced Duration apkamKeysExpiryDuration to capture the time duration set by the user. This time duration is propagated to the secondary server.
  • In the secondary server, once enrollment is approved, set the TTL value to the Duration apkamKeysExpiryDuration in milliseconds. This will ensure that the key expires and is subsequently deleted from the keystore.

- How to verify it

  • Added a unit test to verify the changes.

- Description for the changelog

  • fix: Introduce time duration for apkam keys to auto expire

sitaram-kalluri avatar Sep 09 '24 10:09 sitaram-kalluri