Yes, 604800 is in seconds, which equals exactly 7 days.
The error message, "The token was issued on 2025-06-06T17:28:23.3710847Z and the maximum allowed lifetime for this request is 604800," means that the authentication token used by your application to access Azure Key Vault is only valid for 7 days. After this time, the token expires, and any attempt to use it will result in an authentication error.
This typically happens when the app hasn't been reauthenticated for more than a week, causing it to rely on a cached token that's no longer valid. As a result, when your Blazor app tries to access Key Vault using that expired token, it fails to retrieve connection strings or other secrets.
To resolve this, try sign in again through Visual Studio or your development tool to obtain a fresh token.
Hope this helps. Do let us know if you any further queries.