ApiKey class