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.
来源
- 内容摘要
- sha256:8ca769370923d09f6f2c1d535f581e8f865aafc3a173915f2b3a15d111201555
- 发布时间
- 2026-11-10T10:14:36Z
- 签名身份
- 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:a85fa4e835eff51e032107b0ce916fb31810881b10a246fc052b8437f0b358d3
此版本的引用
oci://hub.aggrega.ai/featurerecipe/cloudformation/random-password:1.0.0- 目标
- —
- 实现
- core/random-password:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| name | !Ref {{ .locals.logical_id }} |
| key | {{ .values.key }} |
Workload
未声明工作负载模板。
局部变量
| 名称 | 模板 |
|---|---|
| logical_id | {{ capitalizedWords (default (printf "%s %s" .context.instance_id .attachment_name) .values.name) }} |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/random-password:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。