mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-29 21:33:54 +00:00
token
This commit is contained in:
parent
59a3e7e3cc
commit
5e112a17a5
@ -1,22 +1,6 @@
|
||||
import { domain } from "./stage"
|
||||
|
||||
const storage = new sst.cloudflare.Bucket("EnterpriseStorage")
|
||||
const token = new cloudflare.ApiToken("EnterpriseStorageToken", {
|
||||
name: `${$app.name}-${$app.stage}-enterprise-storage`,
|
||||
policies: [
|
||||
{
|
||||
effect: "allow",
|
||||
resources: {
|
||||
"com.cloudflare.api.account.*": "*",
|
||||
},
|
||||
permissionGroups: [
|
||||
{
|
||||
id: "c8d07a38f1654800b34e33e59b4e8f41",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
const enterprise = new sst.cloudflare.x.SolidStart("Enterprise", {
|
||||
domain: "enterprise." + domain,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user