Can Configuration Data be encrypted?

This topic contains 3 replies, has 3 voices, and was last updated by  Justin King 1 year, 4 months ago.

  • Author
    Posts
  • #41276

    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

    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

    TyMac
    Participant

    I could work that in to the flow, thanks 🙂

  • #41315

    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.