B.5. Vaults


B.5.1. Users Cannot Access Their Vault Due To Insufficient 'add' Privilege

A user is unable to access his or her own user vault or add new user vaults. The following error message appears:
Copy to Clipboard Toggle word wrap
ipa: ERROR: Insufficient access: Insufficient 'add' privilege to add the entry 'cn=testvault,cn=user,cn=users,cn=vaults,cn=kra,dc=example,dc=com'.

What this means:

The user's vault container is owned by another user. Typically, this situation occurs after another user, such as admin, creates the first user vault for the first user. The first user then cannot access any vaults in his or her own vault container.

To fix the problem:

Add the intended user as the owner of the vault container:
  1. Log in as admin.
    Copy to Clipboard Toggle word wrap
    $ kinit admin
  2. Add user as the container owner:
    Copy to Clipboard Toggle word wrap
    $ ipa vaultcontainer-add-owner --user=user --users=user
      Owner users: admin, user
      Vault user: user
    ------------------------
    Number of owners added 1
    ------------------------
    
    Both admin and user now have access to the user's vault container because they are both the owners of the container.
  3. Optional. Verify that the user can now create a new user vault:
    Copy to Clipboard Toggle word wrap
    $ kinit user
    $ ipa vault-add testvault2
    ------------------------
    Added vault "testvault2"
    ------------------------

Additional Resources

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat, Inc.