TASKGuide

Save a credential

Store a secret in Vault for your team to find and reuse, instead of sending the password over chat.

Create the credential

  1. 1

    Open `Credentials` in the Vault panel and click `Create new`.

    The Create new credential dialog opens. It is also in the command menu (⌘K → New credential), from any Vault screen.

  2. 2

    At the top of the dialog, choose the type: `Login`, `Env`, or `Note`.

    Login is the default. The description below the selector changes with the type. See the list of types further down if you're unsure.

  3. 3

    Fill in the `Name` — and the `URL`, for a `Login`.

    Give it a name the team will recognize; the minimum is 3 characters. The URL must be complete, with https:// — "example.com" fails with "Enter a valid URL".

  4. 4

    Add `Tags` to make future searches easier.

    Type and press Enter. The field suggests tags the team already uses.

  5. 5

    Select `Groups` if you want to share.

    Each selected group can then see the credential. With no group, it stays Private — only you see it. You can change this later; see Share a credential.

  6. 6

    Fill in the fields under `Fields` or paste a `.env`.

    A Login starts with the username and password fields, and Vault fills password with a strong password generated on the spot. The generate button next to the password field opens the generator options (length, character types, presets, and patterns) and replaces the value. In the Fields view, click Add field and fill in a key and a value per row. In the .env view, paste variables as KEY=value, one per line — each line becomes a field. For the Env type, the .env view is the only one.

  7. 7

    Click `Create credential`.

    The ⌘/Ctrl+Enter shortcut also submits.

    result
    Toast "Credential created successfully." — the credential appears in the Credentials list.
The Create new credential dialog with the Login type selected, the Name, URL, Tags, and Groups fields filled in, and the Credential fields section with the Fields/.env switch, the username and password rows (the password already generated), and the Add field button.
The `Create new credential` dialog, with a `Login` filled in.

If you close the dialog with unsaved changes, Vault asks "Discard changes?" before discarding.

Choose the right type

  • Login — a site's username and password. The extension fills it automatically.
  • Env — a set of environment variables for the CLI to inject.
  • Note — notes, API keys, any key/value pair.

In teams that serve customers, the dialog also has the Customer field. It tags the credential with a customer so you can organize and filter the list. It gives no one access.

Create for another member (managers)

Vault managers see the Create for another member toggle at the top of the dialog. With it on, the Create for combobox lets you pick a member with Vault access — useful for handing someone a ready-made credential.

The credential goes to the other person's vault

Whoever you select in Create for becomes the owner. The credential is born in that person's private vault and you stop seeing it, unless it joins one of your groups. It is not a share — it is a transfer of ownership.

Next