I am building a plugin that requires an API key that I would not like to be shared publicly.

Is there anyway that I can do this?

I am new to QGIS but I know you have to publish your code.

  • 1
    You can prompt the user to enter their own API key using a dialog. Perhaps save it using QgsSettings after confirmation by user.
    – Matt
    Apr 7, 2022 at 21:00


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.