Sign
Source:
src/Fly/Sign.ts
Sign with a Fly SecretKey (nacl_sign, hs256, es256,
…). The private key never leaves Fly KMS.
Sign a payload
Section titled “Sign a payload”The App and key name are fixed by Sign(key). Provide
SignHttp on the Action or Service Effect.
const sign = yield* Fly.Sign(Signing);const { signature } = yield* sign({ plaintext: new TextEncoder().encode("release-manifest-v1"),});