Hi,
We have a requirement to connect to GCP and download the binaries into AEM DAM
So, currently, we are planning to read environment variables using the below API.
Has anyone worked on this implementation?
Our first hurdle is how to set and read Environment variables in AEM Managed services.
Any leads/advise would be appreciated.
import com.google.api.gax.paging.Page;
import com.google.cloud.storage.Bucket;
import com.google.cloud.storage.Storage;
import com.google.cloud.storage.StorageOptions;
StorageOptions.Builder b = StorageOptions.newBuilder().setProjectId("mygcp-aem-intg-lwr");
Storage storage = b.build().getService();
Page<Bucket> buckets = storage.list();
for (Bucket bucket : buckets.iterateAll()) {
}
Thanks,
Mrudul
@P_V_Nair