Providing Read Access
This allows preview and generate agreement actions to read the document password from the Admin object without allowing them to view it. You can set the permissions and page layouts for the selected profile. The permissions defined here control access at the object level. Set access levels based on the functional requirements for the profile. For example, create different groups of permissions for individual contributors, managers, and administrators.
To allow documents to be protected correctly when the Preview Agreement or Generate Agreement actions are taken, the field level security needs to be setup so the Value field is Read Only for any profile you want to create protected documents for. You must follow the below process for each profile you want to hide the document protection password from.