selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

passwordcockpit logo

Self-host passwordcockpit

1.4.1

Team password manager with folder permissions and LDAP

ReleaseOpen SourceBSD-3-Clause
Updated9 hours ago
LanguageDockerfile
Setup difficultyModerate
MobileResponsive
Stars
137
Ports
8080 (HTTP web interface (when SSL disabled)), 4343 (HTTPS web interface (when SSL enabled))
Requires
MariaDB/MySQL
Docker
passwordcockpit/passwordcockpit
Password manager screen showing password entriesUser manager screen showing user list and permissionsMobile design showing responsive layout on small screen

What is passwordcockpit?

Passwordcockpit is a self-hosted password manager designed for team use. It provides a web interface where users can keep, share, and access passwords, certificates, and files. The application uses folder-based permissions with three access levels (no access, read, manage) and global permissions for user and folder management. Authentication supports both local database passwords and LDAP integration. Data is protected through three encryption layers: personal PIN encryption for individual passwords, SSL/TLS for data in transit, and database encryption for stored credentials and files. The backend is built with PHP (Mezzio/Laminas) and the frontend uses Ember.js with Bootstrap. It runs as a single Docker image with MariaDB/MySQL as the database. The REST API is documented with Swagger. The UI is responsive and works on mobile devices. Available in English, Italian, French, and German.

Should you self-host passwordcockpit?

passwordcockpit scores 47/100 on selfhost.directory (how scoring works) and ranks #14 of 28 in Password Managers. It has 137 GitHub stars.

It shipped 1 stable release in the past year. The latest, 1.4.1, came out on 22 October 2026.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is BSD-3-Clause-licensed and written mostly in Dockerfile.

Its closest alternative on selfhost.directory is Vaultwarden (89/100, 69 809 stars). It scores higher overall, so compare the two before you pick. See passwordcockpit vs Vaultwarden side by side.

Features

  • Bcrypt password hashing
  • Custom SSL Certificates
  • File attachments
  • Folder-based permissions
  • Global user permissions
  • LDAP Authentication
  • Multi-language Support
  • Multi-layer encryption
  • Non-root container
  • PIN-based password encryption
  • REST API with Swagger documentation

passwordcockpit README

How to configure passwordcockpit

  • APACHE_RUN_GROUPFor running the Apache variants as an arbitrary group

    For running the Apache variants as an arbitrary group

  • APACHE_RUN_USERFor running the Apache variants as an arbitrary user

    For running the Apache variants as an arbitrary user

  • PASSWORDCOCKPIT_ADMIN_PASSWORDAdmin123!Admin password to log into passwordcockpit

    Admin password to log into passwordcockpit

  • PASSWORDCOCKPIT_AUTHENTICATION_SECRET_KEYKey for encrypting JSON Web Tokens

    Key for encrypting JSON Web Tokens

  • PASSWORDCOCKPIT_AUTHENTICATION_TYPEpasswordType of the authentication

    Type of the authentication

    values: ldap, password

  • PASSWORDCOCKPIT_BASEHOSTBase host of the Passwordcockpit service

    Base host of the Passwordcockpit service

  • PASSWORDCOCKPIT_BLOCK_CIPHER_KEYKey for passwords and files encryption. IMPORTANT: do not lose this key, without it you will not be able to decrypt passwords and files

    Key for passwords and files encryption. IMPORTANT: do not lose this key, without it you will not be able to decrypt passwords and files

  • PASSWORDCOCKPIT_DATABASE_DATABASEName of the database

    Name of the database

  • PASSWORDCOCKPIT_DATABASE_HOSTNAMEHostname of the database server

    Hostname of the database server

  • PASSWORDCOCKPIT_DATABASE_PASSWORDPassword for the database

    Password for the database

  • PASSWORDCOCKPIT_DATABASE_USERNAMEUsername for the database

    Username for the database

  • PASSWORDCOCKPIT_DEBUGfalseEnable debugging mode

    Enable debugging mode

    values: true, false

  • PASSWORDCOCKPIT_LDAP_ACCOUNTFILTERFORMATFilter to retrieve accounts, it match the username

    Filter to retrieve accounts, it match the username

  • PASSWORDCOCKPIT_LDAP_BASEDNBase DN

    Base DN

  • PASSWORDCOCKPIT_LDAP_BINDREQUIRESDNfalseBind if DN is required

    Bind if DN is required

    values: true, false

  • PASSWORDCOCKPIT_LDAP_HOSTHostname of the LDAP server

    Hostname of the LDAP server

  • PASSWORDCOCKPIT_LDAP_PASSWORDPassword for LDAP

    Password for LDAP

  • PASSWORDCOCKPIT_LDAP_PORT389Port of the LDAP server

    Port of the LDAP server

  • PASSWORDCOCKPIT_LDAP_USER_ATTR_MAILmailConfigure mail's user attribute

    Configure mail's user attribute

  • PASSWORDCOCKPIT_LDAP_USER_ATTR_NAMEgivennameConfigure name of user attribute

    Configure name of user attribute

  • PASSWORDCOCKPIT_LDAP_USER_ATTR_PHONEConfigure phone's user attribute

    Configure phone's user attribute

  • PASSWORDCOCKPIT_LDAP_USER_ATTR_SURNAMEsnConfigure surname of user attribute

    Configure surname of user attribute

  • PASSWORDCOCKPIT_LDAP_USER_ATTR_UNIQUE_IDENTIFIERuidConfigure user identifier attribute

    Configure user identifier attribute

  • PASSWORDCOCKPIT_LDAP_USERNAMEUsername for LDAP

    Username for LDAP

  • PASSWORDCOCKPIT_LDAP_USESSLfalseWhether or not the LDAP client should use SSL encrypted transport

    Whether or not the LDAP client should use SSL encrypted transport

    values: true, false

  • PASSWORDCOCKPIT_LDAP_USESTARTTLSfalseWhether or not the LDAP client should use TLS encrypted transport

    Whether or not the LDAP client should use TLS encrypted transport

    values: true, false

  • PASSWORDCOCKPIT_SSLEnable SSL

    Enable SSL

    values: enable, disable

  • PASSWORDCOCKPIT_SSL_RELAXED_IPWhen PASSWORDCOCKPIT_SSL is disabled, it can be set hosts where secure rule is relaxed

    When PASSWORDCOCKPIT_SSL is disabled, it can be set hosts where secure rule is relaxed

  • PASSWORDCOCKPIT_SWAGGEREnable swagger documentation

    Enable swagger documentation

    values: enable, disable

  • PASSWORDCOCKPIT_UPLOAD_ACCEPTED_MIMETYPESpdfSpecify accepted mime types to check when uploading a file

    Specify accepted mime types to check when uploading a file

passwordcockpit releases & version history

More in Password Managers

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…