Search

25.7. Changing the Password or Public Key of a Vault

download PDF
The owner of a vault can change the vault's password. Depending on whether the vault is symmetric or asymmetric, the command differs:
  • To change the password of a symmetric vault:
    # ipa vault-mod --change-password
    Vault name: example_symmetric_vault
    Password: old_password
    New password: new_password
    Enter New password again to verify: new_password
    -----------------------
    Modified vault "example_symmetric_vault"
    -----------------------
      Vault name: example_symmetric_vault
      Type: symmetric
      Salt: dT+M+4ik/ltgnpstmCG1sw==
      Owner users: admin
      Vault user: admin
  • To change the public key of an asymmetric vault:
    # ipa vault-mod example_asymmetric_vault --private-key-file=old_private_key.pem --public-key-file=new_public_key.pem
    -------------------------------
    Modified vault "example_assymmetric_vault"
    -------------------------------
      Vault name: example_assymmetric_vault
      Typ: asymmetric
      Public key: ...
      Owner users: admin
      Vault user: admin
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.

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.

© 2024 Red Hat, Inc.