1import * as Fly from "@/Fly";
2import * as Redacted from "effect/Redacted";
3
4export const API_PORT = 3000;
5export const SECRET_NAME = "FLY_BINDINGS_MARKER";
6export const MARKER = "hello-from-fly-bindings";
7export const PLAINTEXT = "alchemy-kms-roundtrip";
8
9export const Site = Fly.App("Site", {
10 enableSubdomains: true,
11});
12
13export const Marker = Fly.Secret("Marker", {
14 app: Site,
15 name: SECRET_NAME,
16 value: Redacted.make(MARKER),
17});
18
19export const BoxKey = Fly.SecretKey("Box", {
20 app: Site,
21 type: "nacl_secretbox",
22});
23
24export const SignKey = Fly.SecretKey("Signing", {
25 app: Site,
26 type: "nacl_sign",
27});
28
29export const PublicIp = Fly.IpAssignment("Shared", {
30 app: Site,
31 type: "shared_v4",
32});