SECURITY-835 - Fix security issue related to credentials stores as plain text.
aws-device-farm plugin stores credentials unencrypted in its global configuration file org.jenkinsci.plugins.awsdevicefarm.AWSDeviceFarmRecorder.xml on the Jenkins master. These credentials can be viewed by users with access to the master file system.
Description of changes:
Used the Secret class provided by jenkins to use encryption in the persisted form, to avoid accidental exposure of a secret.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.