Multiple files in single TDF #3184
-
|
Hi We have a requirement to embed multiple files into single TDF. All these files uses same policy/resource attributes. Regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
@mm192010 with otdfctl we follow the Unix philosophy so you can use things like If you happen to be using a Windows OS then you'll want to use |
Beta Was this translation helpful? Give feedback.
-
|
What you’re describing isn’t something TDF is designed to support. A TDF is built around a single payload with its own policy, key access, and lifecycle. We haven’t seen real-world use cases where bundling multiple independent payloads into a single TDF adds value—in most cases it actually complicates policy enforcement and access control rather than simplifying it. If you need to package multiple files together, the recommended approach is exactly what Ryan mentioned above: create individual TDFs for each payload and then bundle them (e.g., zip them) for transport or distribution. That keeps each object independently protected and policy-controlled, while still giving you a simple way to move them as a group. If there’s a specific scenario you’re trying to solve that doesn’t fit that model, feel free to share more detail—happy to take a look. |
Beta Was this translation helpful? Give feedback.
@mm192010 with otdfctl we follow the Unix philosophy so you can use things like
tar,zip, etc to bundle files together.If you happen to be using a Windows OS then you'll want to use
zipor similar tooling. You can also do this in SDK by composing the OpenTDF SDK with tooling like zip.js, java.util.zip, or Go's stdlib zip.