Loads the configuration api token file whilst the configuration is being loaded. Details can be found here: https://docs.nestjs.com/techniques/configuration

if API_TOKEN fails to validate

if unable to read and validate value present in API_TOKEN_FILE

  • Returns { API_TOKEN?: undefined } | { API_TOKEN: string }

    Segment of configuration to be made available by NestJS ConfigService