FeatureRecipe

random-password

CloudFormation realization of core/random-password: an AWS::SecretsManager::Secret that generates its own string. The fragment asks Secrets Manager to generate a password into a JSON secret string under values.key when the stack is created, so the rendered template names the secret and carries no value. The fragment assembles into the same stack as the component carrying the attachment. The secret's logical ID composes the host component and the attachment name — or values.name, where one is supplied — with every separator read as a word boundary and each word capitalised, since a logical ID admits only letters and digits. Where values.name is supplied it is also the secret's own name in Secrets Manager; otherwise CloudFormation names the secret. The published provides are a reference that resolves to the secret's ARN at deploy time, and the JSON key holding the password — the two parts a consumer's Secrets Manager dynamic reference names. The password is generated once, when the secret is created. A change to values.length or values.symbols changes the generation settings, and CloudFormation then creates a new secret version with a new password. Secrets Manager is part of the AWS account the stack deploys into, so this realization reads no prerequisite affirmation. The name random-password is shared with the terraform realization of the same Feature, so a Manifest references this one provider-qualified, as cloudformation/random-password:1.0.0. A bare random-password:1.0.0 matches more than one and resolves to none, and the pull halts on it.

Provenance

OfficialSigned by a signing identity this catalog recognizes as an official publisher.
Content digest
sha256:8ca769370923d09f6f2c1d535f581e8f865aafc3a173915f2b3a15d111201555
Published
2026-11-10T10:14:36Z
Signing identity
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officialapplication/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:a85fa4e835eff51e032107b0ce916fb31810881b10a246fc052b8437f0b358d3

Reference at this version

oci://hub.aggrega.ai/featurerecipe/cloudformation/random-password:1.0.0
Target
—
Implements
core/random-password:1.0.0

Provides

Deterministic pointer templates this recipe wires for consumers.

NameTemplate
name!Ref {{ .locals.logical_id }}
key{{ .values.key }}

Workload

No workload template declared.

Locals

NameTemplate
logical_id{{ capitalizedWords (default (printf "%s %s" .context.instance_id .attachment_name) .values.name) }}

Values mapping

No values mapping declared.

Relationships

Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.

Uses

  • implementsimplementscontract compatible

    core/random-password:1.0.0

    All required outputs are satisfied and every provided output is named in the contract.

Used by

Nothing in the catalog depends on this entity.

FeatureRecipe concept reference →

The Aggrega catalog — an open index of components, features, recipes, and the plugins that render them.

Built with the shared Aggrega design system.

Privacy