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
未宣告任何工作負載範本。
Locals
| 名稱 | 範本 |
|---|---|
| logical_id | {{ capitalizedWords (default (printf "%s %s" .context.instance_id .attachment_name) .values.name) }} |
值對應
未宣告任何值對應。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 實作實作契約相容
core/random-password:1.0.0
所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。
被使用於
目錄中沒有任何項目相依於此實體。