sklp secret push
sklp secret push [flags] [file]Description
Upload dotenv KEY=VALUE pairs to core
Arguments
| Argument | Required | Notes |
|---|---|---|
| file | no |
Flags
| Flag | Aliases | Type | Default | Env | Description |
|---|---|---|---|---|---|
| --project | — | string | — | SKLP_PROJECT | project id (defaults to SKLP_PROJECT) |
| --deploy-readable | — | bool | true | — | 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
}
]
}