You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was talking with @seebees about this and noticed that the changes to the encrypt/decrypt/stream API parameters was not documented in the docstrings (and thus the rendered API docs).
The text was updated successfully, but these errors were encountered:
Thanks @mattsb42-aws . To elaborate, we actually don't intend for callers to directly pass commitment_policy to the encrypt/decrypt/stream APIs; instead, they should be configuring the EncryptionSDKClient with the appropriate commitment policy. We wanted to minimize the number of different places you could configure this option in order to reduce confusion.
However, this does raise another issue, which is that callers currently can pass a commitment policy to these APIs without receiving an error, but the commitment policy will be overridden by the policy in the client. This could definitely be confusing. So I think the fix we should make here is to prevent callers from passing this parameter to the APIs.
I was talking with @seebees about this and noticed that the changes to the encrypt/decrypt/stream API parameters was not documented in the docstrings (and thus the rendered API docs).
The text was updated successfully, but these errors were encountered: