Skip to content

Creates a configurable Docker image for the open source PWM Password Self Service Tool

License

Notifications You must be signed in to change notification settings

ministryofjustice/hmpps-pwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

PWM - Password Manager

Configurable Docker image for pwm - an open-source password self-service application.

Build/Run

To build and run the image:

docker build -t pwm .
docker run --rm -e "CONFIG_XML_BASE64=$(cat PwmConfiguration.xml.tpl | base64)" pwm

Arguments/Environment

  • CONFIG_XML_BASE64 - Use this environment variable to inject a base64-encoded PwmConfiguration.xml file. Any references to other environment variables within the XML will also be substituted at startup. Default:
<?xml version="1.0" encoding="UTF-8"?>
<PwmConfiguration pwmVersion="${PWM_VERSION}" xmlVersion="4" createTime="1970-01-01T00:00:00Z">
  <properties type="config">
    <property key="saveConfigOnStart">true</property>
  </properties>
  <settings>
    <setting key="pwm.securityKey" syntax="PASSWORD">
      <label>Security Key</label>
      <value plaintext="true">12345678901234567890123456789012</value>
    </setting>
  </settings>
</PwmConfiguration>

About

Creates a configurable Docker image for the open source PWM Password Self Service Tool

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published