sklp secret push

sklp secret push [flags] [file]

Description

Upload dotenv KEY=VALUE pairs to core

Arguments

ArgumentRequiredNotes
fileno

Flags

FlagAliasesTypeDefaultEnvDescription
--project—string—SKLP_PROJECTproject id (defaults to SKLP_PROJECT)
--deploy-readable—booltrue—opt the secret into `sklp deploy`/`secret pull` (default true for new secrets)
--dry-run—bool——print what would change, upload nothing

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklp",
    "secret",
    "push"
  ],
  "slug": "secret-push",
  "name": "push",
  "short": "Upload dotenv KEY=VALUE pairs to core",
  "synopsis": "sklp secret push [flags] [file]",
  "flags": [
    {
      "name": "project",
      "usage": "project id (defaults to SKLP_PROJECT)",
      "type": "string",
      "envFallback": "SKLP_PROJECT"
    },
    {
      "name": "deploy-readable",
      "usage": "opt the secret into `sklp deploy`/`secret pull` (default true for new secrets)",
      "type": "bool",
      "default": "true"
    },
    {
      "name": "dry-run",
      "usage": "print what would change, upload nothing",
      "type": "bool"
    }
  ],
  "positionals": [
    {
      "name": "file",
      "required": false
    }
  ]
}

See also