It is possible to add an option to dump the contents of a variable to a file?
A possible syntax could be:
{aws-sm}dev/certs[mycert]:/secrets/mycert.crt
Right now, I have an extra script for this step, but it would be really neat if this could be a built in feature, that makes it really easy.