Skip to content

runtime: no affordance to inject a generated/rendered secret as a node environment value (env_file) #1074

Description

@Brad-Edwards

Gap

A node often needs a runtime-generated secret as an environment value — created after another service boots, not authorable in the SDL. The motivating case: TheHive must receive Cortex's API key, which Cortex only mints once its org/user is bootstrapped at runtime; and TheHive's HTTPS keystore password is a generated artifact.

RAES today can declare:

  • runtime.environment[] with value_classification: operator_secret — resolved from the operator environment, but the value must already exist out-of-band; there is no way to source it from a generated_artifact produced during realization.
  • generated_artifacts with file outputs mounted at a mount_destination — file delivery only, no environment/env_file consumption.

There is no affordance for "consume generated-artifact output X as environment variable Y (or an env_file) on node Z."

Requested

An SDL affordance letting a node consume a generated-artifact output as an environment value / env_file — e.g. a generated_artifacts[].consumers[] env binding, or a runtime.environment[].value_from: {generated_artifact, output}.

Impact / current workaround

APTL (TechVault env-pack) declares TheHive's Cortex wiring (--cortex-hostnames/proto/port) so both services boot and connect, but the API key injection is unwired and documented in-SDL as a tracked refinement. Once this affordance lands, the key/keystore-password become declared generated-artifact env consumers instead of a post-boot manual step.

Requirements

  • DSL-435

Metadata

Metadata

Assignees

No one assigned

    Labels

    in-progressAn agent is actively working this issue via /implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions