libmongocrypt accepts base64 strings or BSON binary

https://jira.mongodb.org/browse/PHPC-1901
This commit is contained in:
Jeremy Mikola 2021-07-15 21:28:39 -04:00
parent a034564b4a
commit f712a547de
No known key found for this signature in database
GPG key ID: 826DE44395E8A8FC

View file

@ -2486,7 +2486,7 @@ azure: {
<![CDATA[
aws: {
email: <string>,
privateKey: <MongoDB\BSON\Binary with subtype 0>,
privateKey: <base64 string>|<MongoDB\BSON\Binary>,
endpoint: <optional string> // Defaults to "oauth2.googleapis.com"
}
@ -2498,8 +2498,8 @@ aws: {
<programlisting role="javascript">
<![CDATA[
local: {
// The master key used to encrypt/decrypt data keys
key: <96-byte MongoDB\BSON\Binary with subtype 0>
// 96-byte master key used to encrypt/decrypt data keys
key: <base64 string>|<MongoDB\BSON\Binary>
}
]]>
</programlisting>