I have this scheduled lambda fn that keeps track of a valid Auth Bearer token. It will update secrets manager secret value whenever this token is invalid or about to expire