proton account settings
Account-wide preferences.
Every command under proton account settings, with the arguments and flags it takes. For these commands in use, see the account guide.
Holds emergency-access, get, list, notifications, password, recovery-contacts, recovery-email, recovery-phone, recovery-phrase, second-password, security-keys, sentinel, set and two-factor.
emergency-access
Section titled “emergency-access”People who can get into your account if you cannot.
A contact you add is handed a copy of your keys, sealed so only they can open it, and a waiting period. If they ever request access, it opens once the wait runs out - unless you grant it sooner or cancel the request. A contact has to have a Proton account of their own.
list shows the people you granted; list --incoming shows accounts that granted you.
Holds access, add, cancel, get, grant, list, remove, request and update.
emergency-access access
Section titled “emergency-access access”Sign in to an account whose emergency access is open.
–as names the profile to save the account under, which is then an ordinary profile: proton --profile NAME mail list reads its mail. The access has to be open first - request it and wait, or have the account grant it.
proton account settings emergency-access access REFproton account settings emergency-access access 4Gh2k9Lp --as dads-account| Flag | Description |
|---|---|
--as string |
Profile to save the accessed account under |
emergency-access add
Section titled “emergency-access add”Let somebody into your account in an emergency.
Your password is asked for. –wait sets how long after a request the access opens, and defaults to 7d. The contact has to have a Proton account.
proton account settings emergency-access add EMAILproton account settings emergency-access add jane.roe@proton.meproton account settings emergency-access add jane.roe@proton.me --wait 3d --password-file /run/secrets/proton| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
--wait string |
How long after a request the access opens (e.g. 3d); default 7d |
emergency-access cancel
Section titled “emergency-access cancel”Take back a request in flight.
Your password is asked for. On one somebody made against your account, this denies it. The access itself stays; only the pending request is cancelled.
proton account settings emergency-access cancel REFproton account settings emergency-access cancel 7Kd2p1Qa| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
emergency-access get
Section titled “emergency-access get”Show one emergency access.
proton account settings emergency-access get REFproton account settings emergency-access get 7Kd2p1Qaemergency-access grant
Section titled “emergency-access grant”Let a pending request in now, without the wait.
Your password is asked for. The contact gets access at once, so this is a decision to make only when you meant them to have it.
proton account settings emergency-access grant REFproton account settings emergency-access grant 7Kd2p1Qa --password-file /run/secrets/proton| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
emergency-access list
Section titled “emergency-access list”List the people you let into your account.
WAIT is how long after a request the access opens. STATUS is enabled, requested, or open. –incoming lists accounts that granted you emergency access instead.
proton account settings emergency-access listproton account settings emergency-access listproton account settings emergency-access list --incoming| Flag | Description |
|---|---|
--desc |
Reverse the order |
--incoming |
Act on access others granted you, not access you granted |
--limit int |
How many emergency contacts per page; 0 for all of them |
--page int |
Which page of results, counting from zero |
--sort string |
Order by: created, contact (default created) |
emergency-access remove
Section titled “emergency-access remove”Remove an emergency contact.
Your password is asked for. Their copy of your keys stops working. A contact who is also a recovery contact keeps that.
proton account settings emergency-access remove REF...proton account settings emergency-access remove 7Kd2p1Qa| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
emergency-access request
Section titled “emergency-access request”Start the wait to get into an account that granted you access.
The access opens once the account’s wait runs out, unless it cancels the request first. access is what signs in once it is open.
proton account settings emergency-access request REFproton account settings emergency-access request 4Gh2k9Lpemergency-access update
Section titled “emergency-access update”Change how long an emergency contact waits.
Your password is asked for. –wait is required.
proton account settings emergency-access update REFproton account settings emergency-access update 7Kd2p1Qa --wait 3d --password-file /run/secrets/proton| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
--wait string |
How long after a request the access opens (e.g. 3d) |
Show the account settings now in effect.
proton account settings getproton account settings getList the account settings that can be changed.
proton account settings listproton account settings listnotifications
Section titled “notifications”The emails and in-app notices Proton sends you.
Critical account notifications are sent whatever is off here. The daily email about new mail is a Mail setting: proton mail settings set daily-notifications.
Holds disable, enable and list.
notifications disable
Section titled “notifications disable”Stop emails or notices Proton sends you.
proton account settings notifications disable REF...proton account settings notifications disable offers newsletterproton account settings notifications disable in-appnotifications enable
Section titled “notifications enable”Have Proton send you emails or notices.
proton account settings notifications enable REF...proton account settings notifications enable newsletternotifications list
Section titled “notifications list”List what Proton sends you, and what is on.
proton account settings notifications listproton account settings notifications list| Flag | Description |
|---|---|
--limit int |
How many notifications per page; 0 for all of them |
--page int |
Which page of results, counting from zero |
password
Section titled “password”The password you sign in with.
Holds set.
password set
Section titled “password set”Change your password.
Your current password is asked for first. The new one comes from –new-password-file, which takes - for stdin, or from a prompt that asks for it twice. It needs at least eight characters and cannot be the one it replaces.
In two-password mode this changes the password you sign in with, and your keys stay locked with your second password.
This session goes on working. Another machine signed in to this account asks for the new password the next time it opens your keys.
proton account settings password setproton account settings password setproton account settings password set --password-file /run/secrets/proton --new-password-file /run/secrets/proton-new| Flag | Description |
|---|---|
--new-password-file string |
Read the password being set from a file, or - for stdin |
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
recovery-contacts
Section titled “recovery-contacts”People who can help you back into your account.
A contact you add is handed a copy of your keys, sealed so only they can open it. If you are ever locked out, they can hand back the part that reactivates your keys. A contact has to have a Proton account of their own.
list shows the people you chose; list --incoming shows accounts that chose you.
Holds add, get, list and remove.
recovery-contacts add
Section titled “recovery-contacts add”Let somebody help you recover your account.
Your password is asked for. The contact has to have a Proton account.
proton account settings recovery-contacts add EMAILproton account settings recovery-contacts add alex.roe@proton.meproton account settings recovery-contacts add alex.roe@proton.me --password-file /run/secrets/proton| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
recovery-contacts get
Section titled “recovery-contacts get”Show one recovery contact.
proton account settings recovery-contacts get REFproton account settings recovery-contacts get 3Np7xQ2brecovery-contacts list
Section titled “recovery-contacts list”List the people who can help you recover.
–incoming lists accounts you can help recover instead.
proton account settings recovery-contacts listproton account settings recovery-contacts listproton account settings recovery-contacts list --incoming| Flag | Description |
|---|---|
--desc |
Reverse the order |
--incoming |
Act on access others granted you, not access you granted |
--limit int |
How many recovery contacts per page; 0 for all of them |
--page int |
Which page of results, counting from zero |
--sort string |
Order by: created, contact (default created) |
recovery-contacts remove
Section titled “recovery-contacts remove”Remove a recovery contact.
Your password is asked for. Their copy of your keys stops working. A contact who is also an emergency contact keeps that.
proton account settings recovery-contacts remove REF...proton account settings recovery-contacts remove 3Np7xQ2b| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
recovery-email
Section titled “recovery-email”The address Proton writes to if you lose access.
Holds disable, enable, get, set and verify.
recovery-email disable
Section titled “recovery-email disable”Stop allowing password resets by email.
Your password is asked for. The address stays, and Proton goes on sending security notices to it.
proton account settings recovery-email disableproton account settings recovery-email disable| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
recovery-email enable
Section titled “recovery-email enable”Allow password resets by email.
Your password is asked for. An account with no recovery address, and one with Proton Sentinel turned on, is refused.
proton account settings recovery-email enableproton account settings recovery-email enable| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
recovery-email get
Section titled “recovery-email get”Show the recovery address and what it may do.
proton account settings recovery-email getproton account settings recovery-email getrecovery-email set
Section titled “recovery-email set”Set the recovery address.
Your password is asked for. set none removes the address, and with it any way to reset your password by email.
A new address is unverified until you open the link Proton mails to it: proton account settings recovery-email verify sends one.
proton account settings recovery-email set EMAILproton account settings recovery-email set jane.roe@example.comproton account settings recovery-email set none| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
recovery-email verify
Section titled “recovery-email verify”Send a verification email to the recovery address.
Open the link in it to finish. Until then Proton will not reset your password by email.
proton account settings recovery-email verifyproton account settings recovery-email verifyrecovery-phone
Section titled “recovery-phone”The number Proton texts if you lose access.
Holds disable, enable, get, set and verify.
recovery-phone disable
Section titled “recovery-phone disable”Stop allowing password resets by SMS.
Your password is asked for. The number stays, and Proton goes on using it for security notices.
proton account settings recovery-phone disableproton account settings recovery-phone disable| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
recovery-phone enable
Section titled “recovery-phone enable”Allow password resets by SMS.
Your password is asked for. An account with no recovery number, and one with Proton Sentinel turned on, is refused.
proton account settings recovery-phone enableproton account settings recovery-phone enable| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
recovery-phone get
Section titled “recovery-phone get”Show the recovery number and what it may do.
proton account settings recovery-phone getproton account settings recovery-phone getrecovery-phone set
Section titled “recovery-phone set”Set the recovery number.
Your password is asked for. The number needs its country code, as +43 660 1234567. set none removes the number, and with it any way to reset your password by SMS.
A new number is unverified until a code Proton texts it is handed back: proton account settings recovery-phone verify sends one.
proton account settings recovery-phone set PHONEproton account settings recovery-phone set '+43 660 1234567'proton account settings recovery-phone set none| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
recovery-phone verify
Section titled “recovery-phone verify”Confirm the recovery number with a code sent by SMS.
With no –code, Proton texts the number a code. Run it again with –code to hand the code back, which is what marks the number verified.
Until then Proton will not reset your password by SMS.
proton account settings recovery-phone verifyproton account settings recovery-phone verifyproton account settings recovery-phone verify --code 482913| Flag | Description |
|---|---|
--code string |
The code Proton texted the number |
recovery-phrase
Section titled “recovery-phrase”The twelve words that open your account without your password.
Holds disable, get and set.
recovery-phrase disable
Section titled “recovery-phrase disable”Remove the recovery phrase.
Your password is asked for. The words you wrote down stop working, and nothing else recovers the account through them.
proton account settings recovery-phrase disableproton account settings recovery-phrase disable| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
recovery-phrase get
Section titled “recovery-phrase get”Show whether a recovery phrase is set.
The status is one of: on, outdated, not set, off. An outdated phrase was set before your keys were replaced: it still opens the data it was made for, and it will not get you back into the account.
proton account settings recovery-phrase getproton account settings recovery-phrase getrecovery-phrase set
Section titled “recovery-phrase set”Make a recovery phrase and print it.
Your password is asked for. The twelve words are printed once and kept nowhere: write them down. Anyone holding them can open the account.
A phrase that is already set is replaced and stops working.
Recover with proton account keys reactivate --recovery-phrase.
proton account settings recovery-phrase setproton account settings recovery-phrase setproton account settings recovery-phrase set --output json| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
second-password
Section titled “second-password”The second password your keys can be locked with.
In two-password mode one password signs you in and another opens your keys.
Holds disable, enable, get and set.
second-password disable
Section titled “second-password disable”Leave two-password mode.
Your password is asked for, and your keys are locked with it. The second password stops working, and nothing else about the account changes.
This session goes on working. Another machine signed in to this account asks for your password the next time it opens your keys.
proton account settings second-password disableproton account settings second-password disable| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
second-password enable
Section titled “second-password enable”Lock your keys with a second password.
The password you sign in with is asked for first and stays as it is. The second password comes from –new-password-file, which takes - for stdin, or from a prompt that asks for it twice. It needs at least eight characters and cannot be the one you sign in with.
Signing in then takes both: proton account login --second-password-file, or a prompt for the second one after your password.
An account already in two-password mode is refused.
proton account settings second-password enableproton account settings second-password enableproton account settings second-password enable --password-file /run/secrets/proton --new-password-file /run/secrets/proton-second| Flag | Description |
|---|---|
--new-password-file string |
Read the password being set from a file, or - for stdin |
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
second-password get
Section titled “second-password get”Show whether this account uses two-password mode.
proton account settings second-password getproton account settings second-password getsecond-password set
Section titled “second-password set”Change your second password.
The password you sign in with is asked for first. The new second password comes from –new-password-file, which takes - for stdin, or from a prompt that asks for it twice. It needs at least eight characters and cannot be the one you sign in with.
Your keys are locked with it from then on. This session goes on working; another machine signed in to this account asks for it the next time it opens your keys.
An account that does not use two-password mode is refused.
proton account settings second-password setproton account settings second-password setproton account settings second-password set --password-file /run/secrets/proton --new-password-file /run/secrets/proton-second| Flag | Description |
|---|---|
--new-password-file string |
Read the password being set from a file, or - for stdin |
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
security-keys
Section titled “security-keys”The security keys this account signs in with.
A key is one you plug in. Registering it asks you to touch it, so it takes somebody at the machine; a built-in authenticator and a passkey held in a phone are registered at https://account.proton.me instead.
An account may have four. Registering the first one makes a key part of every sign-in, and removing the last one ends that.
Holds create, delete, list and update.
security-keys create
Section titled “security-keys create”Register a security key with the account.
Your password is asked for, then the key: plug it in and touch it, and give its PIN if it has one. A key already registered here is refused by the key itself.
–name is required and is what the key is listed under. An account may have four keys, and from the first one a key is asked for at every sign-in.
With no terminal to ask, pass –password-file, which takes - for stdin. The touch still needs you there.
proton account settings security-keys createproton account settings security-keys create --name "YubiKey 5C"proton account settings security-keys create --name "Spare key" --password-file /run/secrets/proton| Flag | Description |
|---|---|
--name string |
Name for the new security key |
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
security-keys delete
Section titled “security-keys delete”Remove a security key from the account.
The key stops signing in here and keeps the credential it made, which only its own manufacturer’s tool clears. Removing the last one stops a key being asked for at all.
Asks for your password even when you are signed in. With no terminal to ask, pass –password-file, which takes - for stdin.
proton account settings security-keys delete REFproton account settings security-keys delete "Key in the safe"proton account settings security-keys delete 5bH2mQxK --yes --password-file /run/secrets/proton| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
security-keys list
Section titled “security-keys list”List the security keys registered with the account.
The ID is what update and delete take, and a key’s name works in place of it.
proton account settings security-keys listproton account settings security-keys list| Flag | Description |
|---|---|
--desc |
Reverse the order |
--limit int |
How many security keys per page; 0 for all of them |
--page int |
Which page of results, counting from zero |
--sort string |
Order by: name (default name) |
security-keys update
Section titled “security-keys update”Rename a security key.
The name is how you tell your keys apart and is all that changes: the key signs in exactly as it did.
proton account settings security-keys update REFproton account settings security-keys update "Spare key" --name "Key in the safe"| Flag | Description |
|---|---|
--name string |
New name for the security key |
sentinel
Section titled “sentinel”Proton Sentinel, the heightened protection for your account.
It needs a plan that includes it. While it is on, Proton chooses which recovery methods the account may use. An organization that turns it on for its members decides it for them.
Holds disable, enable and get.
sentinel disable
Section titled “sentinel disable”Turn Proton Sentinel off.
–emails stops only the emails it sends, and leaves it on.
proton account settings sentinel disableproton account settings sentinel disableproton account settings sentinel disable --emails| Flag | Description |
|---|---|
--emails |
Only the emails it sends |
sentinel enable
Section titled “sentinel enable”Turn Proton Sentinel on.
–emails turns on the emails it sends about what it finds as well, and turns it on first if it was off.
proton account settings sentinel enableproton account settings sentinel enableproton account settings sentinel enable --emails| Flag | Description |
|---|---|
--emails |
Also the emails it sends |
sentinel get
Section titled “sentinel get”Show whether Proton Sentinel is on.
proton account settings sentinel getproton account settings sentinel getChange one account setting.
proton account settings set KEY VALUEproton account settings set locale de_ATproton account settings set week-start mondaytwo-factor
Section titled “two-factor”What you are asked for at sign-in besides your password.
Holds disable, enable, generate and get.
two-factor disable
Section titled “two-factor disable”Stop asking for an authenticator app code.
Your password and a current code are asked for. A recovery code works in place of the code.
A registered security key goes on being asked for.
proton account settings two-factor disableproton account settings two-factor disableproton account settings two-factor disable --totp 123456 --password-file /run/secrets/proton| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
two-factor enable
Section titled “two-factor enable”Ask for an authenticator app code at every sign-in.
A secret is printed and you are asked for a code from it. With –totp CODE the code confirms the secret from the last two-factor generate instead, which is how this runs with nobody to ask.
Recovery codes are printed once as it turns on. Each signs you in a single time if you lose the app.
Security keys are registered with proton account settings security-keys create.
proton account settings two-factor enableproton account settings two-factor enableproton account settings two-factor enable --totp 123456 --password-file /run/secrets/proton| Flag | Description |
|---|---|
--password-file string |
Read the account password from a file, or - for stdin |
--totp string |
Two-factor code |
two-factor generate
Section titled “two-factor generate”Make a two-factor secret for an authenticator app.
Nothing about the account changes. The secret waits until proton account settings two-factor enable --totp CODE confirms it with a code computed from it, and making another replaces the one waiting.
It is printed once. Anyone holding it can produce your codes.
proton account settings two-factor generateproton account settings two-factor generateproton account settings two-factor generate --output jsontwo-factor get
Section titled “two-factor get”Show what this account is asked for at sign-in.
proton account settings two-factor getproton account settings two-factor getEvery command also takes the flags that work everywhere.