<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:58 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-4454] Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4454</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2411&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2411&quot;&gt;&lt;del&gt;DRIVERS-2411&lt;/del&gt;&lt;/a&gt;&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2111896">CDRIVER-4454</key>
            <summary>Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="colby.pike@mongodb.com">Colby Pike</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Aug 2022 19:08:53 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:01 +0000</updated>
                            <resolved>Tue, 18 Oct 2022 18:00:25 +0000</resolved>
                                                    <fixVersion>1.24.0</fixVersion>
                                    <component>Client Side Encryption</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5021749" author="xgen-internal-githook" created="Thu, 1 Dec 2022 12:50:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt; use consistent include path for mcd-time.h (#1154)&lt;/p&gt;

&lt;p&gt;This include was inconsistent with all others in libmongoc. The path is necessary for compilation in Visual Studio when &quot;src/libmongoc/src/libmongoc/src&quot; is used as an include path.&lt;/p&gt;

&lt;p&gt;This was originally introduced in mongodb/mongo-c-driver@686bff81f565f93db83d99902ce1c3a6f89922c7&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/a60ac70449ab621ffb66df63e093ee2ab041d46b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/a60ac70449ab621ffb66df63e093ee2ab041d46b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5018904" author="xgen-internal-githook" created="Wed, 30 Nov 2022 15:19:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt;: Use consistent include path for mcd-time.h&lt;/p&gt;

&lt;p&gt;This include was inconsistent with all others in libmongoc. The path is necessary for compilation in Visual Studio when &quot;src/libmongoc/src/libmongoc/src&quot; is used as an include path.&lt;/p&gt;

&lt;p&gt;This was originally introduced in mongodb/mongo-c-driver@686bff81f565f93db83d99902ce1c3a6f89922c7&lt;br/&gt;
Branch: cdriver-4454-fix-include-path&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9f260ece0a07a2c502c0ba9cf1569b8b78605a51&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9f260ece0a07a2c502c0ba9cf1569b8b78605a51&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5018899" author="xgen-internal-githook" created="Wed, 30 Nov 2022 15:15:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt;: Use consistent include path for mcd-time.h&lt;/p&gt;

&lt;p&gt;This include was inconsistent with all others in libmongoc. The path is necessary for compilation in Visual Studio when &quot;src/libmongoc/src/libmongoc/src&quot; is used as an include path.&lt;/p&gt;

&lt;p&gt;This was originally introduced in mongodb/mongo-c-driver@686bff81f565f93db83d99902ce1c3a6f89922c7 for&lt;br/&gt;
Branch: cdriver-4454-fix-include-path&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/44c026db830b3ca2258a16541f1f19466171cca2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/44c026db830b3ca2258a16541f1f19466171cca2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4951419" author="xgen-internal-githook" created="Thu, 3 Nov 2022 12:27:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt; add integration tests for Azure KMS (#1124)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/4a6de7764e0a7a2c89a98627ae155dccf841a354&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/4a6de7764e0a7a2c89a98627ae155dccf841a354&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4910758" author="xgen-internal-githook" created="Tue, 18 Oct 2022 19:23:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt; fix error return and HTTP version check (#1123)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt; fix error return&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt; allow HTTP/1.1 protocol in response&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/6160fdd9e372a5e91605337187b9e826c046c52f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/6160fdd9e372a5e91605337187b9e826c046c52f&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4835136" author="xgen-internal-githook" created="Fri, 16 Sep 2022 21:01:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt; fix VS 2013 compile (#1106)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/605d403bea50e2a7235c867e62092b8afd48afa7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/605d403bea50e2a7235c867e62092b8afd48afa7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4827036" author="xgen-internal-githook" created="Wed, 14 Sep 2022 18:45:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;vector-of-bool&apos;, &apos;email&apos;: &apos;vectorofbool@gmail.com&apos;, &apos;username&apos;: &apos;vector-of-bool&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt; Azure auto-KMS testing (#1104)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Move API for IMDS HTTP, support host and port overrides&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Live tests for Azure IMDS requests&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add a very simple mock IMDS server based on Bottle&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;New error types for Azure&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;A simple timer abstraction&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;HTTP fixes:&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;A timeout during a partial read is still an error.&lt;/li&gt;
	&lt;li&gt;Prevent a slow server from trickling data and causing an eternal wait&lt;br/&gt;
  (Keep track of time while reading)&lt;/li&gt;
	&lt;li&gt;Reject very large HTTP responses.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Test cases by prompting server misbehavior from the client&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Update errors listings&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Saturating time conversions&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/671a15154f0dd0e4af3c8df2ac08dfe4acf01795&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/671a15154f0dd0e4af3c8df2ac08dfe4acf01795&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4816158" author="xgen-internal-githook" created="Sat, 10 Sep 2022 02:12:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;vector-of-bool&apos;, &apos;email&apos;: &apos;vectorofbool@gmail.com&apos;, &apos;username&apos;: &apos;vector-of-bool&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt; Some HTTP Fixes (#1103)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Fix: _mongoc_http_send does not set resp.status&lt;/li&gt;
	&lt;li&gt;Fix: Don&apos;t attempt an empty write if HTTP req body is empty&lt;/li&gt;
	&lt;li&gt;Fix: Include host port in the Host header&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/7652c6c669da94b265f0f4de8a2191d84c48b991&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/7652c6c669da94b265f0f4de8a2191d84c48b991&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4815597" author="xgen-internal-githook" created="Fri, 9 Sep 2022 19:56:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;vector-of-bool&apos;, &apos;email&apos;: &apos;vectorofbool@gmail.com&apos;, &apos;username&apos;: &apos;vector-of-bool&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4454&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4454&quot;&gt;&lt;del&gt;CDRIVER-4454&lt;/del&gt;&lt;/a&gt; Automatic Azure KMS Credentials (#1097)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Initial automatic Azure KMS based on &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2411&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2411&quot;&gt;&lt;del&gt;DRIVERS-2411&lt;/del&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Split request_send into testable components&lt;/li&gt;
	&lt;li&gt;Add private API for querying Azure IMDS&lt;/li&gt;
	&lt;li&gt;Test cases for Azure IMDS&lt;/li&gt;
	&lt;li&gt;Convenience macro for test installation&lt;/li&gt;
	&lt;li&gt;Use separate IMSD request API&lt;/li&gt;
	&lt;li&gt;No managedIdentity parameters for now&lt;/li&gt;
	&lt;li&gt;Simple point-in-time and duration abstraction&lt;/li&gt;
	&lt;li&gt;Cache the Azure access token&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/686bff81f565f93db83d99902ce1c3a6f89922c7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/686bff81f565f93db83d99902ce1c3a6f89922c7&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="2111178">DRIVERS-2411</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2400008">CDRIVER-4698</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2111904">PHPLIB-938</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0orq8:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2411&quot; title=&quot;Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2411&quot;&gt;&lt;del&gt;DRIVERS-2411&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
&lt;b&gt;Implementation&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;libmongocrypt 1.6.0 or higher is required. Binaries for 1.6.0 are available on the &lt;a href=&quot;https://spruce.mongodb.com/task/libmongocrypt_release_publish_snapshot_upload_all_12c5118944295599097d5a70a11bb32a1b079282_22_09_07_13_03_29/files?execution=0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;upload-all task&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The spec changes introduce another method of obtaining KMS credentials automatically, much like with GCP and AWS:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;When &lt;tt&gt;kmsProviders&lt;/tt&gt; contains an empty &lt;tt&gt;azure&lt;/tt&gt; property, it indicates a request for automatic Azure credentials.&lt;/li&gt;
	&lt;li&gt;To obtain credentials, issue an HTTP request to the Azure Instance Metadata Service (IMDS).&lt;/li&gt;
	&lt;li&gt;IMDS will issue an &lt;tt&gt;accessToken&lt;/tt&gt; that can be used to query the Azure Key Vault (if the instance has sufficient permissions).&lt;/li&gt;
	&lt;li&gt;Additionally, this version of auto-KMS credentials institutes a token caching requirement.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The associated spec changes are specified here: &lt;a href=&quot;https://github.com/mongodb/specifications/commit/d6b8cce6abb3b8e1a0b8f1dc7ee737e18322cfce&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/d6b8cce6abb3b8e1a0b8f1dc7ee737e18322cfce&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The initial implementation for the C driver is here: &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/686bff81f565f93db83d99902ce1c3a6f89922c7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/686bff81f565f93db83d99902ce1c3a6f89922c7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Mock server tests&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Mock server tests specified here:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/e780e91d708fe9c004a0b0023387baa850282881&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/e780e91d708fe9c004a0b0023387baa850282881&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The mock server is available here: &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/csfle/fake_azure.py&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/csfle/fake_azure.py&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please see &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/671a15154f0dd0e4af3c8df2ac08dfe4acf01795#diff-d353a218f6d4ac77dfb35cc757a96af121a9ce1d3cf7b01535fa23e6d0c58016R98&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/671a15154f0dd0e4af3c8df2ac08dfe4acf01795#diff-d353a218f6d4ac77dfb35cc757a96af121a9ce1d3cf7b01535fa23e6d0c58016R98&lt;/a&gt; for a reference implementation of the mock server tests in C.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Integration tests&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Integration tests are specified here:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/cf778cb8add04c0c6d8f366e6352f3d0ac9c1694&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/cf778cb8add04c0c6d8f366e6352f3d0ac9c1694&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Scripts in the drivers-evergreen-tools &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/tree/master/.evergreen/csfle/azurekms&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;.evergreen/csfle/azurekms directory&lt;/a&gt; may be used to create the temporary Azure Virtual Machine. Get credentials from &lt;a href=&quot;https://docs.google.com/document/d/1vVN_OdUQpMsxVIoUmYk5u6lWxfRgy-vHCbafr8GXXjo/edit&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;DRIVERS-2411 Test Credentials&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;To test, add an Evergreen task group to do the following:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Create an Azure VM instance in a &lt;tt&gt;setup_group&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;Destroy the Azure VM instance in a &lt;tt&gt;teardown_group&lt;/tt&gt;. Using a &lt;tt&gt;teardown_group&lt;/tt&gt; will destroy the instance if the task fails.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Add a task in the task group to do the following:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Build and copy files to the remote Azure VM.&lt;/li&gt;
	&lt;li&gt;Install necessary dependencies on the remote Azure VM instance.&lt;/li&gt;
	&lt;li&gt;Run the test remotely.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please see &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/1124&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/1124&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/1234/files&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/1234/&lt;/a&gt;&#160;for a reference implementation of the integration tests in C.&lt;/p&gt;

&lt;p&gt;It may be helpful to refer to driver tests for &lt;a href=&quot;https://github.com/mongodb/specifications/blob/847d9ba741201f9c9d1305831a9c60e8ab2a1544/source/auth/tests/mongodb-aws.rst#3ecs-instance&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MONGODB-AWS ECS&lt;/a&gt;. The ECS tests perform a similar flow (copying and running a test on a remote ECS instance).&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>