Approach for configuring API keys within Extension?

I’ve built a custom UI Extension that allows a user select a file, have that file uploaded to a service, and simply store the public URL of the asset. In effect, it passes large binaries through the Content authoring Web App, but let’s you store the publicly accessible file.

Anyways, the UI Extension uses an API Key and Secret, as well as a couple other pieces of information. How are people allowing their UI Extensions to be configured? Where would a user of my extension place their own API Keys?

I suppose they could copy and paste it after loading the extension, but curious if there is a more elegant approach.

Chris Allick

Do some people use the Parameters JSON object for this? Basically, install the extension, and edit the parameters to add your own API keys?