Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version r092

D toc

The Secure Token Service manages the use of secure tokens in the 

D s platform
 for use with third-party systems. This service is used for:



NOTE: Except in rare cases, the other properties for secure token service do not need to be modified.

  1. D s config

  2.  Configure the following properties:

    "secure-token-service.enabled"Set this value to true. It is enabled by default.
    " secure-token-service.autorestart"

    Set this value to true to enable auto-restarting of the secure token service.

    "secure-token-service.port"Set this value to 41921.
    " refresh_token_encryption_key"

    Enter a base64 string to serve as your encryption key for the refresh token of the secure token service.

    A default encryption key is inserted for you.


    NOTE: If a valid base64 string value is not provided here, the platform fails to start.


    Enter a base64 string to serve as an encryption key for user IDs that are passed to the secure token service to return tokens.


    NOTE: This value must be specified with a non-empty string.

    "secure-token-service.userIdHashingPepper"Enter a base64 string.
  3. Save your changes and restart the platform.


You can configure how logging is managed for the secure token service. For more information on configuring logging, see Configure Logging for Services.

D s also
label((label = "token") OR (label = "security"))