Can Configuration Data be encrypted?

This topic contains 3 replies, has 3 voices, and was last updated by Profile photo of Justin King Justin King 6 months, 1 week ago.

  • Author
    Posts
  • #41276
    Profile photo of TyMac
    TyMac
    Participant

    Is there an accepted procedure to encrypt the data in a "ConfigurationData.psd1" file? I don't want to leave IP or hostnames (etc) in config files that are checked in to source code.

  • #41278
    Profile photo of Don Jones
    Don Jones
    Keymaster

    There's nothing native, no. You can certainly encrypt it manually, knowing that you'll have to manually decrypt it before feeding it to your configuration script.

  • #41299
    Profile photo of TyMac
    TyMac
    Participant

    I could work that in to the flow, thanks 🙂

  • #41315
    Profile photo of Justin King
    Justin King
    Participant

    Alternatively you can check that data into a separate repo with unique permissions. This is relatively common.

You must be logged in to reply to this topic.