...
Any user you want to get a password from a password field by entering some user credentials (password to log-in to Jira)
The user doesn’t want to enter any decryption or encryption key
The password should be stored encrypted in the database
Users should not know the encryption/decryption key but the keys can be stored on any path in the network reachable for Jira
As soon as the user creates a new password it is automatically encrypted with the given private key
As soon as the user enters user credentials to view password it is automatically decrypted with the given public key
...
In the configuration admin needs to define folder paths to the encryption private key (just text fields, no upload input). This should be a private key file. Furthermore, the adminneeds to define folder paths to the decryption public key. This should be a public key file. Both should be uploaded to custom field setting. Jira must be able to search for this path. Local and remote paths are possible.
...