Write a tutorial on how to use this in a runtime action include how to save the private.key and other values securely.