Skip to main content

Secret

This page is auto-generated from the formations OpenAPI spec. Do not edit manually — run pnpm generate-formations-resource-docs to regenerate.

Creates an encrypted secret within the formation's project.

Syntax

type: secret
properties:
name: String
value: String

Output

The physical resource ID is the public ID of the created resource. Reference it from other resources with a ref expression:

some_field:
ref: MySecret

Properties

name

Human-readable label for the secret

Required: Yes Type: String


value

The secret value to encrypt and store

Required: No Type: String Nullable: Yes