I am looking for a recommendation how to do this.
From the docs:
https://cloud.ibm.com/docs/openwhisk?topic=cloud-functions-creating-docker-actions#creating-and-invoking-a-docker-action
You can use actions to call images from public registries only, such as an image that is publicly available on Docker Hub. Private registries are not supported.
How to store database credentials, api keys etc... when the Docker image must be publicly available on Docker Hub?
Use default parameters to store credentials on actions. These parameters are stored securely by the platform and merged with request parameters during invocations.
Default parameters can be set by the CLI using the -p parameter when creating or updating actions.
ibmcloud wsk action create my_action -p name value ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With