Skip to content

Add VM-to-VM HTTP request authentication with VM identity headers #181

@josharian

Description

@josharian

Author: philz42
Channel: #feedback
Link: https://discord.com/channels/1405685085923049482/1405686161791516873/1488287689794125884


Description

Implement a feature to authenticate VM-to-VM HTTP requests by including a header that identifies the connecting VM. This would make it as easy to authenticate VM-to-VM requests as it currently is to authenticate user HTTP requests.

Use Case

Build a proxy that:

  • Runs on one VM and holds secrets
  • Validates HTTP requests from other VMs
  • Uses VM identity headers for authentication
  • Allows connecting VMs to remain secret-free

Considerations

  • VM names can be renamed, so an immutable VM identifier may be needed instead of (or in addition to) the VM name
  • Should follow the same authentication pattern as the existing user HTTP request header authentication

Context

This request came from a discussion about improving VM-to-VM communication security on exe.dev.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions