25.7. Changing the Password or Public Key of a Vault
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