{"id":5056,"date":"2022-10-12T09:00:20","date_gmt":"2022-10-12T16:00:20","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cosmosdb\/?p=5056"},"modified":"2022-10-12T09:13:57","modified_gmt":"2022-10-12T16:13:57","slug":"bigger-and-more-secure-new-features-for-azure-cosmos-db-for-mongodb","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cosmosdb\/bigger-and-more-secure-new-features-for-azure-cosmos-db-for-mongodb\/","title":{"rendered":"Bigger and more secure: new features for Azure Cosmos DB for MongoDB"},"content":{"rendered":"<p>During Microsoft Ignite 2022, we announced new, generally available (GA) features in Azure Cosmos DB for MongoDB that enhance security, auditability, and document size flexibility.<\/p>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/how-to-setup-rbac\">\ud83d\udd12\u00a0Role based access control (RBAC)<\/a> allows you to authorize your data requests with a fine-grained, collection-level role-based permission model to improve access control, security, and auditability of your database account data.<\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/feature-support-42#data-types\">\ud83d\udcc4\u00a016MB documents<\/a> raises the current document size limit from 2MB to 16MB to provide developers with additional flexibility in certain new application development and migration cases.<\/li>\n<\/ul>\n<h3>How to get started?<\/h3>\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/how-to-setup-rbac\">RBAC<\/a> and <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/feature-support-42#data-types\">16MB<\/a> documents can be enabled on new and existing Azure Cosmos DB for MongoDB accounts. Keep in mind that when RBAC and\/or 16MB documents are enabled, the feature cannot be disabled.<\/p>\n<p><strong>Option 1. Azure Portal<\/strong><\/p>\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/how-to-setup-rbac\">RBAC<\/a> and <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/feature-support-42#data-types\">16MB<\/a> documents can be enabled in the Azure Portal. Navigate to the features tab, click on RBAC and\/or 16MB documents, and click enable.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/10\/mongo_ignite.jpg\"><img decoding=\"async\" class=\"alignnone wp-image-5133 size-full\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/10\/mongo_ignite.jpg\" alt=\"MongoDB RBAC feature now available in Azure Cosmos DB.\" width=\"800\" height=\"406\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/10\/mongo_ignite.jpg 800w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/10\/mongo_ignite-300x152.jpg 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2022\/10\/mongo_ignite-768x390.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p><strong>Option 2. Programmatically<\/strong><\/p>\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/how-to-setup-rbac\">RBAC<\/a> and <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/feature-support-42#data-types\">16MB<\/a> documents can be enabled using <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/how-to-configure-capabilities\">account capabilities<\/a>. The \u2018EnableMongoRoleBasedAccessControl\u2019 capability for RBAC and \u2018EnableMongo16MBDocumentSupport\u2019 capability for 16MB documents can <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/how-to-configure-capabilities\">be added to your account using native Azure tools<\/a> to enable these features.<\/p>\n<h3>Learn more<\/h3>\n<p>You\u2019re invited to join me at the <a href=\"https:\/\/ignite.microsoft.com\/en-US\/sessions\/ef5673b8-8e00-46bb-a7da-2b68e9e60b7d?source=sessions\">Expert Meet-up: Scale with Azure Cosmos DB<\/a> session at Ignite, Oct. 12, 3:00PM PT\/6:00PM ET, to learn more about our new features. I\u2019ll also be discussing these features <a href=\"https:\/\/developer.azurecosmosdb.com\/tv\">on Azure Cosmos DB Live TV<\/a> this Friday, October 14<sup>th<\/sup> at 10am PT\/1pm ET.<\/p>\n<p>To find out more about supported features, native Azure integrations, and code samples <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/cosmos-db\/mongodb\/mongodb-introduction\">check out our official documentation<\/a>.<\/p>\n<p>Discover additional features and capabilities in\u00a0<a href=\"https:\/\/aka.ms\/AAgza1u\">Azure Cosmos DB<\/a>\u00a0and\u00a0<a href=\"https:\/\/aka.ms\/AAgzqws\">get started for free<\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>During Microsoft Ignite 2022, we announced new, generally available (GA) features in Azure Cosmos DB for MongoDB that enhance security, auditability, and document size flexibility. \ud83d\udd12\u00a0Role based access control (RBAC) allows you to authorize your data requests with a fine-grained, collection-level role-based permission model to improve access control, security, and auditability of your database account [&hellip;]<\/p>\n","protected":false},"author":53146,"featured_media":61,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[15],"tags":[1246,1774],"class_list":["post-5056","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mongodb-api","tag-mongodb","tag-msignite"],"acf":[],"blog_post_summary":"<p>During Microsoft Ignite 2022, we announced new, generally available (GA) features in Azure Cosmos DB for MongoDB that enhance security, auditability, and document size flexibility. \ud83d\udd12\u00a0Role based access control (RBAC) allows you to authorize your data requests with a fine-grained, collection-level role-based permission model to improve access control, security, and auditability of your database account [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/5056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/users\/53146"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/comments?post=5056"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/5056\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media\/61"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media?parent=5056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/categories?post=5056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/tags?post=5056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}