secret.ts 583 B

123456789101112131415
  1. sst.Linkable.wrap(random.RandomPassword, (resource) => ({
  2. properties: {
  3. value: resource.result,
  4. },
  5. }))
  6. export const SECRET = {
  7. R2AccessKey: new sst.Secret("R2AccessKey", "unknown"),
  8. R2SecretKey: new sst.Secret("R2SecretKey", "unknown"),
  9. HoneycombApiKey: new sst.Secret("HONEYCOMB_API_KEY"),
  10. HoneycombWebhookSecret: new random.RandomPassword("HoneycombWebhookSecret", { length: 24 }),
  11. SupportApiKey: new sst.Secret("SUPPORT_API_KEY"),
  12. UpstashRedisRestUrl: new sst.Secret("UpstashRedisRestUrl"),
  13. UpstashRedisRestToken: new sst.Secret("UpstashRedisRestToken"),
  14. }