Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-3738

Encrypt secret information in XD configuration files

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.3.1
    • Component/s: Configuration
    • Labels:
      None
    • Story Points:
      2
    • Rank (Obsolete):
      9223372036854775807
    • Acceptance Criteria:
      Hide

      User provides a jar file exposing a custom bean of type org.springframework.security.crypto.encrypt.TextEncryptor under the base package spring.xd.ext.encryption and installs it in xd/lib. The XD runtime uses this bean during initialization to replace any property value containing the prefix {cipher} from any properties source with the decrypted value.

      Show
      User provides a jar file exposing a custom bean of type org.springframework.security.crypto.encrypt.TextEncryptor under the base package spring.xd.ext.encryption and installs it in xd/lib. The XD runtime uses this bean during initialization to replace any property value containing the prefix {cipher} from any properties source with the decrypted value.
    • Out of Scope:
      Hide

      Default TextEncryptor implementation

      Show
      Default TextEncryptor implementation
    • Sprint:
      Sprint 68

      Description

      Spring XD keeps passwords in text files such sas servers.yml, properties files, and module configuration files. Some users have requested a way to store encrypted values rather than clear text. XD should provide a "hook" for users to provide a custom component to detect encrypted property values and decrypt them during container, admin, and module initialization.

        Attachments

          Activity

            People

            • Assignee:
              dturanski David Turanski
              Reporter:
              dturanski David Turanski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: