How do I deploy files with sensitive data?

(Pavel Voronin) #1

I want to avoid storing files with sensitive data in source control, and I would like Octopus to deploy these files depending on the environment. Currently I can create variables having type sensitive, does similar feature exist for files?

#3

Hi Pavel,

Thanks for getting in touch!

We currently don’t have the option of marking files as sensitive, although I would recommend raising a UserVoice for this one so we can gauge how useful it would be.

In the meantime, the only workaround I can think of (and it very much depends on the files contents) would be to store the contents of the files as a sensitive variable and then using file transformations to right that variable out to a file at deployment time. It’s not particularly elegant, but it may work depending on your requirements.

Hopefully that helps, if you have any further questions please let me know,

Regards,
Alex

(Pavel Voronin) #4

@Alex.Rolley Yes, that is how I’m currently solving the problem. But files would be better.

Three is also a possible workaround in a near future:

(system) closed #5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.