How do I deploy files with sensitive data?

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?

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

@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:

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