def apply()

in src/main/scala/com/gu/config/Config.scala [93:99]


    def apply(env: Env): GitHubConfig = {
      val ssmPrivateConfig = ConfigurationLoader.load(setupAppIdentity(env), CredentialsProvider.credentialsv2) {
        case identity: AwsIdentity => SSMConfigurationLocation.default(identity)
      }
      val token = ssmPrivateConfig.getString("github.token")
      GitHubConfig(token)
    }