We have at least 70 Java applications and now trying to use the secrets that is saved from vault. The plan is to create no-root tokens in order to access the secrets from vault.
configured all required settings in payara5 server and able to connect to vault and able to get all the required secrets via non-root token.
The problem is non-root tokens are expiring too soon and payara5 is not renewing non-root token automatically and as soon as the token expire connection breaks and no secrets can be fetched from vault.
Reason to use non-root token is java applications must not see the secrets of each other.
Please suggest the possible ways to achieve requirement
Vault configuration is like:
Non-root token A must access only - /DEV/APP-A
Non-root token B must access only - /DEV/APP-B