Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

allow export to run with service token

Maidul Islam518606425ae0
diff --git a/cli/packages/cmd/export.go b/cli/packages/cmd/export.go
index 96d8817b54..fd04e9ce2c 100644
--- a/cli/packages/cmd/export.go
+++ b/cli/packages/cmd/export.go
@@ -31,8 +31,8 @@ var exportCmd = &cobra.Command{
Args: cobra.NoArgs,
PreRun: func(cmd *cobra.Command, args []string) {
toggleDebug(cmd, args)
- util.RequireLogin()
- util.RequireLocalWorkspaceFile()
+ // util.RequireLogin()
+ // util.RequireLocalWorkspaceFile()
},
Run: func(cmd *cobra.Command, args []string) {
envName, err := cmd.Flags().GetString("env")