Add foreman mechanism to manage API keys

Add foreman mechanism to manage API keys