A newer version of this documentation is available.

View Latest

Secret Management API

      +
      An Administrator can change the master password and data key. Rotating the key and resetting the password require authentication.

      POST /node/controller/changeMasterPassword

      Description:

      This command sets the master password.

      Parameters:

      • newPassword - Specify a new master password. Required.

      Syntax:

      $ curl -v -X POST -d 'newPassword=blah' \
      http://Administrator:password@127.0.0.1:8091/node/controller/changeMasterPassword

      POST /node/controller/rotateDataKey

      Description:

      This command rotates the data key.

      Parameters:

      • None

      Syntax:

      $ curl -v -X POST http://Administrator:password@127.0.0.1:8091/node/controller/rotateDataKey