Class DefaultConfidentialStore

java.lang.Object
jenkins.security.ConfidentialStore
jenkins.security.DefaultConfidentialStore

public class DefaultConfidentialStore extends ConfidentialStore
Default portable implementation of ConfidentialStore that uses a directory inside $JENKINS_HOME.

The master key is stored by default in $JENKINS_HOME/secrets/master.key but another location can be provided using the system property jenkins.master.key.file.

It is also possible to prevent the generation of the master key file using the system property -Djenkins.master.key.readOnly. In this case, the master key file must be provided or startup will fail.

Author:
Kohsuke Kawaguchi