Halaman ini diterjemahkan oleh mesin. Baca versi asli dalam bahasa Inggris.

FeatureRecipe

dotenv-referenced-secret

Compose realization of core/referenced-secret, for local development. It delivers origin — from values or infra, whichever carries it — under values.key on the consuming component's inject pipe, and a compose Recipe reading the slot writes that value into the emitted docker-compose file, exactly as authored. A literal origin therefore lands in the file as the credential itself. An origin written as a Compose variable reference, such as ${DIFY_DB_PASSWORD}, lands as that reference instead, and Docker Compose substitutes it when the stack starts — from the shell environment, a file named with --env-file, or a .env file in the project directory — and substitutes an empty string, with a warning, for a variable it cannot resolve and that names no default. The compiler neither reads nor writes a .env file; whoever starts the stack maintains it. Docker Compose has no secret resource for a consumer to reference, so this realization emits none and the name it publishes is empty; the key it publishes is values.key, the name the value travels under. origin is therefore the value, never the name of a Secret. Reach for it under Docker Compose; on Kubernetes reach for helm/k8s-existing-secret, helm/k8s-external-secret or helm/k8s-secret-from-parameter.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:7cc51fb65e6c4d82ec3769431f19b232866b8a1d26e65096260a9ee458f95c3d
Dipublikasikan
2026-11-15T08:09:01Z
Identitas penandatangan
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Tanda tangan

  • Resmiapplication/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:766053a6e3147f4fc5d6bf3add0fdfc6ae603e7136295a7c7e17efda385694ef

Referensi pada versi ini

oci://hub.aggrega.ai/featurerecipe/compose/dotenv-referenced-secret:1.0.0
Target
—
Mengimplementasikan
core/referenced-secret:1.0.0

Menyediakan

Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.

NamaTemplat
name
key{{ .values.key }}

Pemetaan injeksi

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

Workload

Tidak ada templat beban kerja yang dideklarasikan.

Nilai lokal

Tidak ada nilai lokal yang dideklarasikan.

Pemetaan values

Tidak ada pemetaan values yang dideklarasikan.

Relasi

Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.

Menggunakan

  • mengimplementasikanmengimplementasikankontrak kompatibel

    core/referenced-secret:1.0.0

    Semua keluaran wajib terpenuhi dan setiap keluaran yang disediakan disebutkan dalam kontrak.

Digunakan oleh

Tidak ada apa pun di katalog yang bergantung pada entitas ini.

Referensi konsep FeatureRecipe →

Katalog Aggrega — indeks terbuka berisi komponen, fitur, resep, dan plugin yang merendernya.

Dibangun dengan sistem desain Aggrega yang digunakan bersama.

Privasi