code: protected static HttpEntity getHeaders(AuditSettings auditSettings) {
          HttpHeaders headers = new HttpHeaders();
          if (!CollectionUtils.isEmpty(auditSettings.getUsernames()) && !CollectionUtils.isEmpty(auditSettings.getApiKeys())) {
              headers.set(STR_APIUSER, auditSettings.getUsernames().iterator().next());
              headers.set(STR_AUTHORIZATION, STR_APITOKENSPACE + auditSettings.getApiKeys().iterator().next());
          }
          return new HttpEntity<>(headers);
      }
docs: Get api authentication headers