yumemi/secret

Opaque HMAC value for secrets stored by the application. The plaintext is accepted only at this boundary and cannot be encoded back.

Types

pub opaque type Secret

Values

pub fn hmac(value: String) -> Secret
pub fn lookup(value: String, label: String) -> Secret

照合の値(0.16.0、yumemi-016-b12b)。読みの Args の欄に置くと、runtime が契約の秘密 SECRET_HMAC(指し先の secret)の HMAC-SHA256 の像を穴へ渡す。label ごとに別の値(同じ値でも用途が違えば照合しない)、同じ label と値なら同じ値。 label は [a-z][a-z0-9_]* を . で繋いだ字(customer.phone)── 合わなければ投げる

✨ Search Document