Skip to content

Support injecting environment variables into egress container #968

@sjoerdvanBommel

Description

@sjoerdvanBommel

Why do you need it?

To be able to inject environment variables from the OpenHands server into the Egress container on startup.
As far as my investigation went, this is currently not possible.
This would be extremely helpful for authorization header injection using Transparent HTTPS MITM Proxy, to prevent storing secrets in the sandbox.

How could it be?

Via an env property in the API/SDKs. It is already possible to create a custom image with its own env variables based on the egress image, but this only accepts static values and isn't suited for secrets which would be baked into the image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions