def getExposedKeysForAccount()

in hq/app/services/CacheService.scala [97:110]


  def getExposedKeysForAccount(
      awsAccount: AwsAccount
  ): Either[FailedAttempt, List[ExposedIAMKeyDetail]] = {
    exposedKeysBox
      .get()
      .getOrElse(
        awsAccount,
        Left(
          Failure
            .cacheServiceErrorPerAccount(awsAccount.id, "exposed keys")
            .attempt
        )
      )
  }