# Edge Security in Untrusted Environments

- Speaker: [Issac Goldstand](/wiki/speakers/issac-goldstand.md)
- Event: [Reversim Summit 2021](/wiki/years/2021.md)
- Video: https://www.youtube.com/watch?v=ItmGvSG3juc
- Transcript: [/transcripts/2021/28-ItmGvSG3juc.md](/transcripts/2021/28-ItmGvSG3juc.md)
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: [Networking](/wiki/topics/networking.md), [Security](/wiki/topics/security.md), [Cloud Computing](/wiki/topics/cloud.md), [IoT](/wiki/topics/iot.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

The speaker shares insights from a past smart home venture, focusing on the security challenges of managing IoT devices in untrusted environments. The talk demonstrates how a Zero Trust architecture can be implemented using open-source tools to secure edge devices connecting to the internet and cloud storage. By leveraging dynamic credentials and short-lived certificates, developers can protect remote hardware and data without relying on static security models. The audience learns practical patterns for applying modern security practices to resource-constrained edge devices.

## Key points

- [0:11](https://www.youtube.com/watch?v=ItmGvSG3juc&t=11s) The speaker introduces the concept of managing smart home edge devices like Raspberry Pi in real-world, untrusted environments.
- [6:53](https://www.youtube.com/watch?v=ItmGvSG3juc&t=413s) The core security challenge is established around two main use cases: secure remote internet access to edge devices and secure backups to cloud storage.
- [6:53](https://www.youtube.com/watch?v=ItmGvSG3juc&t=413s) The speaker introduces the Zero Trust security model, where no component or network perimeter is implicitly trusted.
- [7:55](https://www.youtube.com/watch?v=ItmGvSG3juc&t=475s) HashiCorp Vault is presented as the central tool for generating short-lived, dynamic secrets and leases to enforce Zero Trust.
- [10:05](https://www.youtube.com/watch?v=ItmGvSG3juc&t=605s) For secure internet access, a combination of a CDN, OpenVPN, and mutual TLS (mTLS) is used to encrypt the traffic pipeline.
- [17:18](https://www.youtube.com/watch?v=ItmGvSG3juc&t=1038s) The architecture of Home Assistant and its add-on sandboxing model is explained to show how client-side components interact.
- [23:18](https://www.youtube.com/watch?v=ItmGvSG3juc&t=1398s) For secure cloud storage access, dynamic AWS credentials are generated on-the-fly using Vault and STS to limit permissions per device.

## Takeaways

- Adopt a Zero Trust model for IoT and edge deployments instead of relying on perimeter security.
- Use dynamic, short-lived certificates and credentials to minimize the attack surface if a device is compromised.
- Leverage existing open-source orchestration and secrets management tools to build robust infrastructure even for small-scale projects.

## Questions this talk answers

- How can you secure remote access to IoT edge devices deployed in untrusted home networks?
- How do you implement short-lived dynamic credentials for cloud storage from resource-constrained edge devices?
- How can mutual TLS (mTLS) be automated in a containerized environment using secrets management tools?

## Technologies

Raspberry Pi, Vault, Kubernetes, OpenVPN, AWS, Home Assistant, Docker, JavaScript, Python

## Tags

cloud storage, edge computing, iot, open source, security, vpn, zero trust
