Mocking GCS / S3 connections #707
-
Hi,, I've got a question around the GCS vfs module - as part of our deploy and test pipeline, we are trying to mock GCS using the fakeGCS package. Everything we are building uses Docker, so the DNS lookup for the google storage is working as expected and redirecting to the fake GCS package. However, sftpgo is failing to connect to it because the certificate is not what it expects (which is what you would normally want as effectively we are performing a man-in-the-middle attack on ourselves) Is there a way to either ignore the certificate check, or foce sftpgo to use http instead of https ? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, for both S3 and Azure we can specify a custom endpoint and so use an emulator or an alternate implementation. I'll add the same option for GCS too. |
Beta Was this translation helpful? Give feedback.
-
Hi, I did a quick test, setting an env var like this |
Beta Was this translation helpful? Give feedback.
Hi,
I did a quick test, setting an env var like this
STORAGE_EMULATOR_HOST="http:/…