code: private DateTime credentialExpirationTime(JsonNode credentialsJson) {
          String expiration = getText(credentialsJson, "Expiration");
  
          if (expiration != null) {
              DateTime credentialExpiration = new DateTime(DateUtils.parseISO8601Date(expiration));
              credentialExpiration = credentialExpiration.minus(expirationBufferUnit.toMillis(expirationBufferValue));
              return credentialExpiration;
          } else {
              return DateTime.now().plusYears(9999);
          }
      }
docs: Parse the process output to retrieve the expiration date and time. The result includes any configured expiration buffer.