Cloud Foundry has support for running Windows workloads. There is the ability to have buildpacks that support both the cflinuxfs* and windows, but the compatibility for both needs to be maintained by the buildpack owner.
Proposed Solution
Buildpacks that support Windows need to have an equivalent Windows Batch script for compile and supply (supply.bat, compile.bat)
The 0001_retrieve-secrets.sh for exporting secrets as environment variables would need to be ported to a Windows Batch script as well
The Go executable would also need to be compile for the Windows OS
Additional Considerations
The Windows supported buildpack could either be in this repository and an entirely new repository
Developers could use Conjur SDK's to retrieve secrets programmatically rather than relying on the buildpack. The Windows buildpack primarily serves .NET Framework users so there would need to be a .NET framework SDK.
Proof-of-Concept
I have created a POC demonstrating how this buildpack would work on a Windows stack: Commit here
This POC is functional, but still needs some enhancements.
We may have a need for this in the future and I am looking to assess the possibility of this becoming a supported feature of this buildpack.
Overview
Cloud Foundry has support for running Windows workloads. There is the ability to have buildpacks that support both the
cflinuxfs*
andwindows
, but the compatibility for both needs to be maintained by the buildpack owner.Proposed Solution
compile
andsupply
(supply.bat
,compile.bat
)0001_retrieve-secrets.sh
for exporting secrets as environment variables would need to be ported to a Windows Batch script as wellAdditional Considerations
Proof-of-Concept