Public key via erb template for exported resource to work