---
title: "Command: ennote secret import"
description: "ennote secret import imports secrets into your Ennote workspace from a 1Password 1PUX or CSV, LastPass CSV or Bitwarden CSV export, with a dry-run preview and single-vault filtering."
canonical_url: "https://docs.ennote.io/cli/commands/secret/import"
---
# Command: ennote secret import

> ennote secret import imports secrets into your Ennote workspace from a 1Password 1PUX or CSV, LastPass CSV or Bitwarden CSV export, with a dry-run preview and single-vault filtering.

## Usage

Import secrets from a password manager export. Supported formats: **1Password 1PUX**, **1Password CSV**, **LastPass CSV** and **Bitwarden CSV**. The format is detected automatically.

```bash
ennote secret import <file-path> [flags]
```

## Examples

```bash
# Preview an export before importing anything (recommended for bulk imports)
ennote secret import secrets.csv --dry-run

# Import a 1Password 1PUX export archive
ennote secret import export.1pux

# Import a CSV file
ennote secret import secrets.csv

# Force CSV parsing for a file with an unusual extension
ennote secret import export.txt --format csv

# Import a single vault from a 1PUX export
ennote secret import export.1pux --vault "Production"

# Show every parsed secret and every warning
ennote secret import secrets.csv --dry-run --verbose
```

## Import Flags

- **-d, --dry-run:** Preview the secrets to import without sending anything to the server.
- **-f, --format:** Export format: `1pux`, `csv` or `auto` (default `auto`).
- **--vault:** Import only one vault or folder, by name. Ignored with a warning for formats without a folder column.
- **--verbose:** List every parsed secret and every warning instead of a summary.

Secrets are imported into the active workspace, or the one set with `--workspace-id`. For a step-by-step migration, including export and cleanup, see [Import from 1Password, LastPass or Bitwarden](https://docs.ennote.io/cli/guides/import).

Global flags: `--organization-id`, `--workspace-id` ([ennote secret](https://docs.ennote.io/cli/commands/secret#global-flags)).

## FAQ

### How do I import secrets from 1Password, LastPass or Bitwarden?

Export your vault (1Password as 1PUX or CSV, LastPass or Bitwarden as CSV), preview it with `ennote secret import <file> --dry-run`, then run `ennote secret import <file>`. Use `--vault "<name>"` to import a single vault or folder.

<need-help>



</need-help>


## Sitemap

See the full [sitemap](https://docs.ennote.io/sitemap.md) for all pages.
