Overview

Password Vault is a personal password manager for SharePoint Online pages and Microsoft Teams. Each user keeps his or her own credentials in a single encrypted file in his or her own OneDrive. This article explains, layer by layer, how the data is protected, what the PIN does and does not do, which parts of the vault are encrypted, and what kind of credentials Password Vault is designed for. It is intended for end users who want to understand the product and for administrators and security officers who review it.

Summary

QuestionAnswer
Where is the vault stored?In one file, vitextra-password-vault.json, in the app folder of the user's own OneDrive
Who can open the file?Whoever has access to the user's OneDrive under Microsoft 365 permissions — by default only the user
Which identity is used?The signed-in Microsoft 365 user, through Microsoft Graph with the delegated permission Files.ReadWrite.AppFolder
What is encrypted?The text fields of every entry: name, user name, password, URL, notes, folder and tags (AES, in the browser, with a key derived from the PIN)
What does the PIN do?The encryption key is derived from the 4-digit PIN; until the PIN is entered, the web part shows no entries at all
When is the PIN asked again?After 5 minutes without interaction in the web part, and after the page is reloaded
What happens after wrong PINs?After 5 wrong PINs in a row the vault is blocked and can only be reset, which erases all entries
What is sent to Vitextra?No vault data; only the technical identifiers of the license check and usage telemetry

Layer 1: Microsoft 365 sign-in and OneDrive access control

Password Vault has no accounts, servers or databases of its own. The web part runs in the browser of the signed-in user and reads and writes the vault through Microsoft Graph with that user's identity. The file is stored in the user's own OneDrive, so it is protected by the same mechanisms as any other file there: Microsoft 365 sign-in (including multifactor authentication and Conditional Access, if your organization uses them), OneDrive permissions and your organization's Microsoft 365 policies.

The web part uses a single delegated permission, Files.ReadWrite.AppFolder, which lets it work only in the app folder of the signed-in user's OneDrive. It cannot open other files of the user and cannot open another user's OneDrive. For details, see KB10454. Microsoft Graph Permission Files.ReadWrite.AppFolder: Why Password Vault Needs It and How to Approve It.

Because the vault is kept in the user's OneDrive and not on the page, every user who opens a page or Teams tab with the web part sees only his or her own vault. Placing the web part on a shared page does not share any passwords.

Layer 2: Encryption of the entries in the browser

Before the vault is saved, Password Vault encrypts the text fields of every entry with AES. Encryption and decryption take place in the user's browser; the file travels only between the browser and the user's OneDrive through Microsoft Graph. As a result, the values are never stored or transferred as plain text: a person who opens the file sees encrypted strings instead of names, user names and passwords.

The encryption key is derived from the PIN in the browser with PBKDF2-SHA256 (Web Crypto), using a random 16-byte salt and 600,000 iterations; a new salt is created whenever a PIN is set or changed. The key is not stored anywhere — not in the vault file, not in the browser storage and not at Vitextra. It exists only in the memory of the open page while the vault is unlocked. To verify a PIN, the web part derives the key from it and decrypts a check value — a known text encrypted with the key — that the file stores together with the salt and the iteration count. Neither the PIN nor a hash of the PIN is stored. As a result, the vault file alone is not enough to read the entries: the PIN is needed.

❗ Important
The PIN has only 4 digits, that is 10,000 possible combinations. PBKDF2 makes every guess deliberately slow, but someone who obtains a copy of your vault file could still try all PINs offline, outside the web part: the limit of five attempts applies only inside the web part. Access control to your OneDrive therefore remains the first line of protection. Keep your Microsoft 365 account secure and do not share the vault file or the folder that contains it.

What is and is not encrypted

Data in the vault fileEncrypted
Name of the entryYes
User nameYes
PasswordYes
URLYes
NotesYes
FolderYes
TagsYes
Favorite flag (the star)No
Entry identifiers, creation and modification datesNo
Salt, iteration count and check value (used to verify the PIN)Salt and iteration count: no; the check value is a known text encrypted with the key. The PIN, a hash of it and the key are not stored
Microsoft Entra ID object ID of the userNo
Failed PIN attempt counterNo

Nothing is written to SharePoint lists, to the web part properties or to the browser storage. The key and the decrypted values exist only in the memory of the open page while the vault is unlocked.

Existing vaults are upgraded automatically

Vaults created with earlier versions of Password Vault use the previous file format, in which the key was derived from a SHA-256 hash of the PIN stored in the file and the user's Microsoft Entra ID object ID. The first time you enter the correct PIN in the new version, the web part re-encrypts all entries with a new key derived with PBKDF2 and saves the vault in the new format. The entries and their modification dates are kept, and the failed-attempt counter is reset. You do not need to do anything. After the upgrade, the file no longer contains the PIN hash.

📝 Note
The upgrade changes only the current vault file. Earlier versions of the file that OneDrive keeps in its version history or recycle bin, and copies in backups, remain in the previous format, in which the entries could be decrypted from the file itself, without the PIN. Who can open them is governed by OneDrive access control and by your organization's retention and backup settings.

Layer 3: The PIN and the locked vault

The PIN is a 4-digit code that the user sets when the vault is created (see KB10442. How to Set Up Your PIN in Password Vault). It is needed once, to open the vault: the web part checks it as soon as the fourth digit is typed. Until then the vault is locked, and the web part shows no entries at all — not even their names. Instead of the list, it shows the Enter PIN prompt with "Enter your PIN to proceed" and four digit boxes, and the toolbar offers only the Refresh button.

ActionAvailable while the vault is locked
View the list with the name, user name, URL, folder, tags and notes of the entriesNo — the list is hidden
Show a password (eye button) or Copy to Clipboard for a password or a user nameNo
New Item, Edit, RemoveNo
Change PIN (the Configure gear)No
Add to favorites / Remove from favoritesNo
Search and filterNo
RefreshYes

After the correct PIN, the vault is unlocked and all these actions work directly, without asking for the PIN again, until the vault locks.

The Enter PIN prompt of a locked vault

The Enter PIN prompt of a locked vault

❗ Important
While the vault is unlocked, everything in it — including passwords — can be shown and copied by anyone who uses your computer, until the vault locks again. Lock your computer whenever you leave it.

On the Enter PIN prompt, the digits are masked while you type them. On the Set up PIN and Change PIN screens they are visible, so set or change your PIN where nobody can watch your screen.

Automatic lock

After the page loads, the vault is locked: no entries are shown, only the Enter PIN prompt. After a correct PIN the vault opens and stays unlocked while you work. When there has been no click or key press inside the web part for 5 minutes (activity on the Change PIN screen counts too), the vault locks again: the list disappears, shown passwords are hidden, the key is removed from memory, and every open dialog (New Item, Edit Properties, the removal confirmation) is closed without saving. Reloading the page also locks the vault, because the unlocked state exists only in the open page. See KB10451. Automatic Lock: When Password Vault Asks for the PIN Again.

Failed-attempt limit

Each wrong PIN shows "The PIN is incorrect" and the number of Attempts left. The counter is stored in the vault file and is always increased from the latest version of the file, so attempts made on different devices and pages add up reliably. The Attempts left line is shown on the Enter PIN prompt whenever earlier wrong attempts exist, also after a reload or on another device. The counter does not reset with time — only a correct PIN resets it. After 5 wrong PINs in a row the vault is blocked: the web part shows only the Reset screen, and resetting erases all entries and the PIN. See KB10455. Incorrect PIN Attempts in Password Vault: What Happens After Five Failed Tries.

❗ Important
A forgotten PIN cannot be recovered or reset by you, your administrator or Vitextra. Note your PIN in a safe place, and keep important credentials also in another place approved by your organization. See KB10460. I Forgot My PIN in Password Vault: What Are My Options?.

No data at Vitextra

Vitextra does not receive, store or back up vault data. The only requests from the web part to Vitextra services are the license check and usage telemetry with technical identifiers. For the full list, see KB10363. Where Vitextra Products Store Your Data: Privacy, Data Residency and GDPR.

What Password Vault is designed for

Password Vault is designed as a convenient, personal place for everyday credentials — sign-ins to web portals, partner systems, test accounts and similar entries that a user would otherwise keep in a notebook or a text file. Its protection combines Microsoft 365 access control with encryption of the stored values under a key derived from a 4-digit PIN.

It is not a privileged access management system: it has no sharing between users, no administrator recovery, no audit log of its own and no master password of high strength. For administrator accounts, service accounts, shared team credentials and other highly privileged secrets, follow your organization's policy and use the tools it prescribes. For a comparison with other approaches, see KB10440. Password Vault vs. Browser Password Managers and Enterprise Password Managers: Which to Choose.

Recommendations

  • Protect your Microsoft 365 account: the vault is only as safe as the account that owns the OneDrive.
  • Choose a PIN that is not easy to guess (avoid 0000, 1234 or your birth year) and keep it in a safe place.
  • Do not share or copy the vault file: someone with a copy could try all 10,000 PINs offline.
  • Lock your computer when you leave it, even for a short time.
  • A copied password stays on the clipboard until you copy something else; clear the clipboard after use on shared computers.
  • If you use the vault on several devices or tabs, changes are combined automatically; press Refresh to see changes made elsewhere (see KB10453. Where Password Vault Stores Your Passwords: The OneDrive App Folder).
  • Store only credentials that your organization allows you to keep in a personal password manager.

💡 Tip
To find out exactly who can and cannot see your entries, see KB10456. Who Can See Your Passwords in Password Vault.

Featured Articles

Setting a Background Image for a Tile

How to use a picture as the background of a tile in the Vitextra Smart Tiles web part: the Background image option, entering a URL or picking an image from a site library, how the image is cropped and scaled, keeping the title readable, the color fallback, the YouTube thumbnail and removing the image.

110 4 min
How to Set Up Your PIN in Password Vault

How to create the 4-digit PIN that protects your personal Password Vault in SharePoint Online and Microsoft Teams: when the Set up PIN screen appears, how to choose a good PIN, what happens after you click Save, and why a forgotten PIN cannot be recovered.

27 5 min
Azure DevOps Query Viewer: Setup and Connecting a Query

How to add the Azure DevOps Query web part from Vitextra My Tasks to a SharePoint page and connect it to a saved Azure DevOps query: requirements, the Not Configured checklist, choosing the organization, project and query, supported query types, item limit, appearance and miscellaneous settings.

106 6 min

Share