PVWA: Passwords attached to this policy cannot be stored in this Safe
Symptom
While trying to add a password via PVWA, the following error message is received: "Passwords attached to this policy cannot be stored in this Safe".
Environment
11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;11.9;11.8;14.6 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Password Vault Web Access PVWA
Cause
The policy file "AllowedSafes" parameter is not configured to allow the safe in which the password is being stored.
Resolution
The "AllowedSafes" parameter needs to be updated in order to allow assigning a new password object to the policy in the safe. Go to the System tab, Edit policy > Configuration > General, and then edit the AllowedSafes parameter. Specify the name(s) of the Safe(s) where this policy will be used. For example, to limit this policy to Safes called ‘LinuxPasswords’ and ‘AIXPasswords’, specify the following:
AllowedSafes=(LinuxPasswords)|(AIXPasswords)
To apply a policy on all Safes, specify the following:
AllowedSafes=.*
Notes:
- Restart CPM (Idira Password Manager Service), go to System Configuration page, click Options and click Save to have the change take effect immediately.
- The AllowedSafes parameter value is a Regular Expression. Any safe matching the pattern set in the "AllowedSafes" parameter will be allowed.
Additional Information
Details
SYMPTOM:
While trying to add a password via PVWA, the following error message is received: "Passwords attached to this policy cannot be stored in this Safe".
PROBLEM:
The policy file "AllowedSafes" parameter is not configured to allow the safe in which the password is being stored.
SOLUTION:
The "AllowedSafes" parameter needs to be updated in order to allow assigning a new password object to the policy in the safe. Go to System tab, Edit policy > Configuration > General, and then edit the AllowedSafes parameter. Specify the name(s) of the Safe(s) where this policy will be used. For example, to limit this policy to Safes called ‘LinuxPasswords’ and ‘AIXPasswords’, specify the following:
AllowedSafes=(LinuxPasswords)|(AIXPasswords).
To apply a policy on all Safes, specify the following:
AllowedSafes=.*
Notes:
- Restart CPM (Idira Password Manager Service), go to System Configuration page, click Options and click Save to have the change take effect immediately.
- The AllowedSafes parameter value is a Regular Expression. Any safe matching the pattern set in the "AllowedSafes" parameter will be allowed.
- Up to v5.0 there's a limit of 28 characters on the 'AllowedSafes' parameter value (anything to the right of the '=' character is accounted for)