> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base44.com/llms.txt
> Use this file to discover all available pages before exploring further.

# base44 secrets set

> הגדר סוד פרויקט אחד או יותר (משתני סביבה מאוחסנים ב-Base44).

<Warning>
  דף זה הוא חלק ממיומנות של סוכן קידוד AI ונכתב לסוכנים, לא לבני אדם. לתיעוד Base44 הקריא לבני אדם, ראה את [תיעוד המפתחים](/developers).
</Warning>

# base44 secrets set

הגדר סוד פרויקט אחד או יותר (משתני סביבה מאוחסנים ב-Base44).

## תחביר

```bash theme={null}
npx base44 secrets set [entries...] [options]
```

## ארגומנטים

| ארגומנט      | תיאור                                                    | נדרש                            |
| ------------ | -------------------------------------------------------- | ------------------------------- |
| `entries...` | זוג `KEY=VALUE` אחד או יותר (למשל `KEY1=val1 KEY2=val2`) | כן (אלא אם `--env-file` בשימוש) |

## אפשרויות

| אפשרות              | תיאור                                | נדרש |
| ------------------- | ------------------------------------ | ---- |
| `--env-file <path>` | נתיב לקובץ `.env` לייבוא סודות בכמות | לא   |

## דוגמאות

```bash theme={null}
# Set one secret
npx base44 secrets set API_KEY=my-secret-value

# Set multiple secrets at once
npx base44 secrets set API_KEY=abc123 DB_PASSWORD=secret

# Import from a .env file
npx base44 secrets set --env-file .env.production
```

## הערות

* ספק זוגות `KEY=VALUE` **או** `--env-file`, לא שניהם
* מפתחות חייבים להיות לא ריקים; ערכים יכולים להיות strings ריקים
* דורס סודות קיימים עם אותו שם
* דורש אימות

<Note>דף זה תורגם באמצעות בינה מלאכותית. למידע המדויק והעדכני ביותר, עיין ב[גרסה האנגלית](/). </Note>
