หน้านี้แปลด้วยเครื่อง อ่านต้นฉบับภาษาอังกฤษ

FeatureRecipe

variable-secret

Terraform realization of core/secret-value, for the author-supplied credential model. The material originates in the Aggregate or the Release — the developer authors it in the attachment's values, an operator fulfils the parameter that origin reads, or an operator writes it in the attachment's infra — and this recipe delivers that value into the consuming node's inject pipe under the chosen key. Nothing is emitted from here; the delivery is the whole contribution, so the value lands only where a Terraform Recipe reads that key and renders it into its own configuration — as the value of an input variable, or directly as a resource argument. A Recipe that does not read the key receives nothing. The managed-database Recipes the standard library ships take no such value and halt the build naming the slot: the RDS ones set the provider's managed-password directive and take core/generated-secret on that slot instead, and the Cloud SQL and flexible-server ones take core/random-password. This is the peer of terraform/generated-secret, not its replacement, and the two serve opposite models. generated-secret is pure wiring for the model where the target engine provisions and rotates the credential itself: it binds the slot the component declares and carries no injectMapping, because there is no authored value to hand over. Here the material is authored, so there is a value to deliver and injectMapping is how it travels. Satisfying a credential slot and injecting a value are different acts — which is exactly why a pure-wiring recipe can bind a required slot while rendering nothing at all.

ที่มา

ทางการลงลายเซ็นด้วยตัวตนที่แค็ตตาล็อกนี้รู้จักว่าเป็นผู้เผยแพร่ทางการ
ไดเจสต์ของเนื้อหา
sha256:ba9b154747cc6c3b0019eaee3a978f6c127f8dd15b0fec6d1e5a8038ce50091e
เผยแพร่
2026-11-10T10:16:55Z
ตัวตนผู้ลงลายเซ็น
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

ลายเซ็น

  • ทางการapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:34dd91707922a1398dfa1d6d9a99fbe18dcd7c18cd39209fa49f4bea782741f4

เอกสารอ้างอิงในเวอร์ชันนี้

oci://hub.aggrega.ai/featurerecipe/terraform/variable-secret:1.0.0
เป้าหมาย
—
อิมพลีเมนต์
core/secret-value:1.0.0

Provides

เทมเพลตตัวชี้ที่กำหนดแน่นอนซึ่ง Recipe นี้เชื่อมโยงให้ผู้บริโภค

ไม่มีเทมเพลต provides ที่ประกาศ

การแมป inject

env:
  {{ .values.key }}: {{ optional .values "origin" (optional .infra "origin" "") | toJson }}

Workload

ไม่มีเทมเพลตเวิร์กโหลดที่ประกาศ

Locals

ไม่มี locals ที่ประกาศ

การแมป values

ไม่มีการแมป values ที่ประกาศ

ความสัมพันธ์

เส้นเชื่อมที่ระบุชนิดไปยังและมาจากเอนทิตีที่เผยแพร่อื่น การอ้างอิงที่ไม่มีเป้าหมายที่เผยแพร่จะเรนเดอร์เป็นเส้นเชื่อมที่ขาดแทนที่จะเป็นลิงก์

Uses

ใช้โดย

ไม่มีสิ่งใดในแค็ตตาล็อกพึ่งพาเอนทิตีนี้

เอกสารอ้างอิงแนวคิดของ FeatureRecipe

แค็ตตาล็อก Aggrega — ดัชนีเปิดของส่วนประกอบ ฟีเจอร์ Recipes และปลั๊กอินที่เรนเดอร์สิ่งเหล่านั้น

สร้างด้วยระบบการออกแบบร่วมของ Aggrega

ความเป็นส่วนตัว