Create or update API key settings

Create or update settings for an API key.