Deprecate and remove the exportPublic + ACL-based approach to exported object expiry #2054
Labels
bulk-data
configuration
deprecation
P2
Priority 2 - Should Have
removal
this change involves removal of a component, class, method, etc
security
Milestone
Is your feature request related to a problem? Please describe.
When the export is configured to create public objects (fhirServer/bulkdata/storageProviders/(source)/exportPublic = true), we attempt to set an ACL policy for objects to make them temporarily public. I believe that is currently hard-coded to 2 hours.
Unfortunately, neither minio nor IBM COS actually honor this setting:
Although its documented, this seems like it could end badly (exports staying public too long and hacked/stolen because of it).
In #882 we added support for using presigned URLs for clients to fetch the resources and that seems like a better approach.
Describe the solution you'd like
Deprecate and eventually remove support for
fhirServer/bulkdata/storageProviders/(source)/exportPublic
.Guide users toward using HMAC auth and presigned URLs instead.
Describe alternatives you've considered
Continue to support setting ACLs.
Acceptance Criteria
Documentation is clear that HMAC auth and presigned URLs is the preferred approach.
Additional context
Originally discussed at https://github.com/IBM/FHIR/pull/2052/files#r592359447
The text was updated successfully, but these errors were encountered: