[snap/#1303] Secure environment variables using repository public keys

* Add security docs
* Add docs for secure env vars