{"id":395,"date":"2024-07-21T19:08:13","date_gmt":"2024-07-21T09:08:13","guid":{"rendered":"https:\/\/www.cloudproinc.com.au\/?p=395"},"modified":"2024-07-21T19:08:18","modified_gmt":"2024-07-21T09:08:18","slug":"retrieving-azure-ai-services-keys-and-endpoints-using-bicep","status":"publish","type":"post","link":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/","title":{"rendered":"Retrieving Azure AI Services Keys and Endpoints Using Bicep"},"content":{"rendered":"\n<p>This Azure AI Services post will show how to retrieve Azure AI Services keys and Endpoint using Bicep deployment code.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>If you are not familiar with Azure Bicep, it is a Specific Domain Language (DSL) for infrastructure-as-code (iac) deployments in Azure only. <\/p>\n\n\n\n<p>Unlike other tools like Terraform, Bicep offers access to the latest Azure API from day one. By default (the only option), Bicep saves the deployment&#8217;s state files in Azure and does not use a local copy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-retrieving-azure-ai-services-keys-and-endpoints-using-bicep\">Retrieving Azure AI Services Keys and Endpoints Using Bicep<\/h2>\n\n\n\n<p>When deploying services to Azure that contains a security key and endpoint URL, we can use native Bicep functionality to retrieve those details after the deployment is complete.<\/p>\n\n\n\n<p>The following Bicep code will deploy an Azure AI Services resource and output the key and Endpoint details.<\/p>\n\n\n\n<p>Before running this code, Install Bicep on your machine using the following command (Windows only).<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-c6b97bddd54b4590f038f4e834222761\"><code>winget install -e --id Microsoft.Bicep<\/code><\/pre>\n\n\n\n<p>Login to Azure using Azure PowerShell <\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-d6b5723cc79118e57b485d4966045fe4\"><code>Connect-AzAccount -UseDeviceAuthentication<\/code><\/pre>\n\n\n\n<p>Create a resource group <\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-c3eaa59179d3e24ed1e095d92014aff2\"><code>New-AzResourceGroup -Name \"RG-NAME\" -Location \"australiasoutheast\"<\/code><\/pre>\n\n\n\n<p>After creating a resource group, we are almost ready to deploy the Bicep template. Copy the template to a file called main.bicep.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-fd6a2bd4a1a062a10a07702ed1e0c2dd\"><code>\nresource aiservice 'Microsoft.CognitiveServices\/accounts@2023-05-01' = {\n  name: 'CognitiveServices'\n  location: 'southeastasia'\n \n  sku: {\n    name: 'S0'\n  }\n  kind: 'CognitiveServices'\n  properties: {\n   \n  }\n \n}\n\n\noutput cognitiveServiceEndpoint string = aiservice.properties.endpoint\noutput cognitiveServiceKey string = listKeys(aiservice.id, '2022-12-01').key1\n\n\n\n\n<\/code><\/pre>\n\n\n\n<p>After saving the file from the terminal window, open the location of the directory with the Bicep file and run the following command to deploy the service and retrieve the key and endpoint.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-550656f19e8ff9d784fd63ee4c0d48b1\"><code>New-AzResourceGroupDeployment -ResourceGroupName \"RG-NAME\" -TemplateFile .\\main.bicep<\/code><\/pre>\n\n\n\n<p>Note: In a production environment, it is not recommended that the key be outputted to the terminal. Ideally, you should use a secure string that outputs the key but does not save it in the terminal history.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-related-articles\">Related Articles<\/h2>\n\n\n\n<ul class=\"wp-block-yoast-seo-related-links yoast-seo-related-links\">\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/03\/28\/how-to-add-a-registry-key-to-windows-11-using-microsoft-intune\/\">How to Add a Registry Key to Windows 11 Using Microsoft Intune<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/integrating-azure-ai-vision-for-image-analysis-in-c-applications\/\">Integrating Azure AI Vision for Image Analysis in C# Applications<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/about\/\">About<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/03\/28\/a-guide-to-deploying-exe-apps-with-intune\/\">A Guide to Deploying EXE Apps with Intune<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/unleash-the-full-potential-of-microsoft-intune-with-cpi-consulting\/\">Unleash the Full Potential of Microsoft Intune with CPI Consulting<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Azure AI Services post will show how to retrieve Azure AI Services keys and Endpoint using Bicep deployment code.<\/p>\n","protected":false},"author":1,"featured_media":396,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"Retrieving Azure AI Services Keys and Endpoints Using Bicep","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Discover how Bicep deployment code can help you retrieve Azure AI Services keys and endpoints. Find out more in this informative blog post.","_yoast_wpseo_opengraph-title":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_twitter-title":"","_yoast_wpseo_twitter-description":"","_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[24,16,26,25,13],"tags":[],"class_list":["post-395","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-microsoft-azure","category-azure-ai-services","category-bicep","category-blog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Retrieving Azure AI Services Keys and Endpoints Using Bicep - CPI Consulting<\/title>\n<meta name=\"description\" content=\"Discover how Bicep deployment code can help you retrieve Azure AI Services keys and endpoints. Find out more in this informative blog post.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Retrieving Azure AI Services Keys and Endpoints Using Bicep\" \/>\n<meta property=\"og:description\" content=\"Discover how Bicep deployment code can help you retrieve Azure AI Services keys and endpoints. Find out more in this informative blog post.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/\" \/>\n<meta property=\"og:site_name\" content=\"CPI Consulting\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-21T09:08:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-21T09:08:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cloudproinc.com.au\/wp-content\/uploads\/2024\/07\/Azure-AI-endpoint-and-key-output-using-Bicep.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"CPI Staff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CPI Staff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/\"},\"author\":{\"name\":\"CPI Staff\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\"},\"headline\":\"Retrieving Azure AI Services Keys and Endpoints Using Bicep\",\"datePublished\":\"2024-07-21T09:08:13+00:00\",\"dateModified\":\"2024-07-21T09:08:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/\"},\"wordCount\":303,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Azure-AI-endpoint-and-key-output-using-Bicep.webp\",\"articleSection\":[\"AI\",\"Azure\",\"Azure AI Services\",\"Bicep\",\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/\",\"url\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/\",\"name\":\"Retrieving Azure AI Services Keys and Endpoints Using Bicep - CPI Consulting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Azure-AI-endpoint-and-key-output-using-Bicep.webp\",\"datePublished\":\"2024-07-21T09:08:13+00:00\",\"dateModified\":\"2024-07-21T09:08:18+00:00\",\"description\":\"Discover how Bicep deployment code can help you retrieve Azure AI Services keys and endpoints. Find out more in this informative blog post.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/#primaryimage\",\"url\":\"\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Azure-AI-endpoint-and-key-output-using-Bicep.webp\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Azure-AI-endpoint-and-key-output-using-Bicep.webp\",\"width\":1024,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/2024\\\/07\\\/21\\\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudproinc.com.au\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Retrieving Azure AI Services Keys and Endpoints Using Bicep\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#website\",\"url\":\"https:\\\/\\\/cloudproinc.com.au\\\/\",\"name\":\"Cloud Pro Inc - CPI Consulting Pty Ltd\",\"description\":\"Cloud, AI &amp; Cybersecurity Consulting | Melbourne\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cloudproinc.com.au\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#organization\",\"name\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\",\"url\":\"https:\\\/\\\/cloudproinc.com.au\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"width\":500,\"height\":500,\"caption\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\",\"name\":\"CPI Staff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"caption\":\"CPI Staff\"},\"sameAs\":[\"http:\\\/\\\/www.cloudproinc.com.au\"],\"url\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/author\\\/cpiadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Retrieving Azure AI Services Keys and Endpoints Using Bicep - CPI Consulting","description":"Discover how Bicep deployment code can help you retrieve Azure AI Services keys and endpoints. Find out more in this informative blog post.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/","og_locale":"en_US","og_type":"article","og_title":"Retrieving Azure AI Services Keys and Endpoints Using Bicep","og_description":"Discover how Bicep deployment code can help you retrieve Azure AI Services keys and endpoints. Find out more in this informative blog post.","og_url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/","og_site_name":"CPI Consulting","article_published_time":"2024-07-21T09:08:13+00:00","article_modified_time":"2024-07-21T09:08:18+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/www.cloudproinc.com.au\/wp-content\/uploads\/2024\/07\/Azure-AI-endpoint-and-key-output-using-Bicep.webp","type":"image\/webp"}],"author":"CPI Staff","twitter_card":"summary_large_image","twitter_misc":{"Written by":"CPI Staff","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/#article","isPartOf":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/"},"author":{"name":"CPI Staff","@id":"https:\/\/cloudproinc.com.au\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e"},"headline":"Retrieving Azure AI Services Keys and Endpoints Using Bicep","datePublished":"2024-07-21T09:08:13+00:00","dateModified":"2024-07-21T09:08:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/"},"wordCount":303,"commentCount":4,"publisher":{"@id":"https:\/\/cloudproinc.com.au\/#organization"},"image":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2024\/07\/Azure-AI-endpoint-and-key-output-using-Bicep.webp","articleSection":["AI","Azure","Azure AI Services","Bicep","Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/","url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/","name":"Retrieving Azure AI Services Keys and Endpoints Using Bicep - CPI Consulting","isPartOf":{"@id":"https:\/\/cloudproinc.com.au\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/#primaryimage"},"image":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2024\/07\/Azure-AI-endpoint-and-key-output-using-Bicep.webp","datePublished":"2024-07-21T09:08:13+00:00","dateModified":"2024-07-21T09:08:18+00:00","description":"Discover how Bicep deployment code can help you retrieve Azure AI Services keys and endpoints. Find out more in this informative blog post.","breadcrumb":{"@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/#primaryimage","url":"\/wp-content\/uploads\/2024\/07\/Azure-AI-endpoint-and-key-output-using-Bicep.webp","contentUrl":"\/wp-content\/uploads\/2024\/07\/Azure-AI-endpoint-and-key-output-using-Bicep.webp","width":1024,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/21\/retrieving-azure-ai-services-keys-and-endpoints-using-bicep\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudproinc.com.au\/"},{"@type":"ListItem","position":2,"name":"Retrieving Azure AI Services Keys and Endpoints Using Bicep"}]},{"@type":"WebSite","@id":"https:\/\/cloudproinc.com.au\/#website","url":"https:\/\/cloudproinc.com.au\/","name":"Cloud Pro Inc - CPI Consulting Pty Ltd","description":"Cloud, AI &amp; Cybersecurity Consulting | Melbourne","publisher":{"@id":"https:\/\/cloudproinc.com.au\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudproinc.com.au\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudproinc.com.au\/#organization","name":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd","url":"https:\/\/cloudproinc.com.au\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudproinc.com.au\/#\/schema\/logo\/image\/","url":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","contentUrl":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","width":500,"height":500,"caption":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd"},"image":{"@id":"https:\/\/cloudproinc.com.au\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/cloudproinc.com.au\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e","name":"CPI Staff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","caption":"CPI Staff"},"sameAs":["http:\/\/www.cloudproinc.com.au"],"url":"https:\/\/www.cloudproinc.com.au\/index.php\/author\/cpiadmin\/"}]}},"jetpack_featured_media_url":"\/wp-content\/uploads\/2024\/07\/Azure-AI-endpoint-and-key-output-using-Bicep.webp","jetpack-related-posts":[{"id":414,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/22\/generate-an-image-caption-with-azure-ai-vision-and-net\/","url_meta":{"origin":395,"position":0},"title":"Generate an Image Caption With Azure AI Vision and .NET","author":"CPI Staff","date":"July 22, 2024","format":false,"excerpt":"This Azure AI Vision article will show how to generate an image caption with Azure AI Vision and .NET C# application. Azure AI Vision is a Microsoft Azure service that is part of the Azure AI Services suite of cloud services, which also includes speech services and the popular Azure\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/07\/Generate-an-Image-Caption-With-Azure-AI-Vision-and-.NET_.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/07\/Generate-an-Image-Caption-With-Azure-AI-Vision-and-.NET_.webp 1x, \/wp-content\/uploads\/2024\/07\/Generate-an-Image-Caption-With-Azure-AI-Vision-and-.NET_.webp 1.5x, \/wp-content\/uploads\/2024\/07\/Generate-an-Image-Caption-With-Azure-AI-Vision-and-.NET_.webp 2x"},"classes":[]},{"id":735,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/10\/07\/deploy-azure-openai-resource-using-bicep\/","url_meta":{"origin":395,"position":1},"title":"Deploy Azure OpenAI Resource Using Bicep","author":"CPI Staff","date":"October 7, 2024","format":false,"excerpt":"In this Microsoft Azure OpenAI blog post, we will deploy an Azure OpenAI resource and an OpenAI GPT4 model using Bicep. Azure OpenAI is an enterprise-grade AI service that provides access to all the OpenAI AI models, including GPT,\u00a0DALL-E,\u00a0Whisper, and more. With Azure OpenAI, we can deploy the services using\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/09\/Block-copy-paste-from-ios-devices.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/09\/Block-copy-paste-from-ios-devices.webp 1x, \/wp-content\/uploads\/2024\/09\/Block-copy-paste-from-ios-devices.webp 1.5x, \/wp-content\/uploads\/2024\/09\/Block-copy-paste-from-ios-devices.webp 2x"},"classes":[]},{"id":457,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/29\/streamlining-entra-id-app-registrations-with-azure-bicep\/","url_meta":{"origin":395,"position":2},"title":"Streamlining Entra ID App Registrations with Azure Bicep","author":"CPI Staff","date":"July 29, 2024","format":false,"excerpt":"In this Azure Bicep and Entra ID, we will show you how to create an Entra ID App Registration using Azure Bicep. Entra ID (formerly Azure Active Directory) is Microsoft's Azure and Microsoft 355 authentication and authorization service, handling all login events to both services. App Registrations in Entra ID\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/07\/Streamlining-Entra-ID-App-Registrations-with-Azure-Bicep.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/07\/Streamlining-Entra-ID-App-Registrations-with-Azure-Bicep.webp 1x, \/wp-content\/uploads\/2024\/07\/Streamlining-Entra-ID-App-Registrations-with-Azure-Bicep.webp 1.5x, \/wp-content\/uploads\/2024\/07\/Streamlining-Entra-ID-App-Registrations-with-Azure-Bicep.webp 2x"},"classes":[]},{"id":430,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/25\/deploy-azure-openai-gpt-4o-resource-and-model-using-bicep\/","url_meta":{"origin":395,"position":3},"title":"Deploy Azure OpenAI GPT-4o Resource and Model using Bicep","author":"CPI Staff","date":"July 25, 2024","format":false,"excerpt":"This Microsoft Azure OpenAI article will show how to deploy Azure OpenAI GPT-4o Resource and Model using Bice. Azure OpenAI is a Microsoft implementation of the popular OpenAI service and AI models. Using Azure OpenAI, companies can use OpenAI's LLMs with Azure infrastructure, tools, and security and compliance services. It\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/ai\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/07\/Deploy-Azure-OpenAI-GPT-4o-Resource-and-Model-using-Bicep.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/07\/Deploy-Azure-OpenAI-GPT-4o-Resource-and-Model-using-Bicep.webp 1x, \/wp-content\/uploads\/2024\/07\/Deploy-Azure-OpenAI-GPT-4o-Resource-and-Model-using-Bicep.webp 1.5x, \/wp-content\/uploads\/2024\/07\/Deploy-Azure-OpenAI-GPT-4o-Resource-and-Model-using-Bicep.webp 2x"},"classes":[]},{"id":780,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/10\/10\/creating-a-storage-container-in-azure-using-azure-sdk-for-net\/","url_meta":{"origin":395,"position":4},"title":"Creating a Storage Container in Azure Using Azure SDK for .NET","author":"CPI Staff","date":"October 10, 2024","format":false,"excerpt":"In this\u00a0\u00a0Microsoft Azure\u00a0article, we will create a storage container inside an Azure storage account using Azure SDK for .NET. Estimated reading time: 3 minutes Table of contentsCreating a Storage Container in Azure Using Azure SDK for .NETCreate Storage AccountRetrieve Storage Account Connection String Using PowerShellCreate C# Console ApplicationCreate an Environment\u2026","rel":"","context":"In &quot;.NET&quot;","block_context":{"text":".NET","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/net\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/07\/Reading-Handwriting-with-Azure-AI-Vision-and-.NET-C.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/07\/Reading-Handwriting-with-Azure-AI-Vision-and-.NET-C.webp 1x, \/wp-content\/uploads\/2024\/07\/Reading-Handwriting-with-Azure-AI-Vision-and-.NET-C.webp 1.5x, \/wp-content\/uploads\/2024\/07\/Reading-Handwriting-with-Azure-AI-Vision-and-.NET-C.webp 2x"},"classes":[]},{"id":459,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/29\/reading-handwriting-with-azure-ai-vision-and-net-c\/","url_meta":{"origin":395,"position":5},"title":"Reading Handwriting with Azure AI Vision and .NET C#","author":"CPI Staff","date":"July 29, 2024","format":false,"excerpt":"This Azure AI Vision article will show you how to create a .NET app that reads handwritten text using Azure AI Vision. Microsoft Azure AI Services offers several AI services that can help streamline business processes or create in-house applications that can replace SaaS apps. Azure AI Vision allows us\u2026","rel":"","context":"In &quot;.NET&quot;","block_context":{"text":".NET","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/net\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/07\/Reading-Handwriting-with-Azure-AI-Vision-and-.NET-C.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/07\/Reading-Handwriting-with-Azure-AI-Vision-and-.NET-C.webp 1x, \/wp-content\/uploads\/2024\/07\/Reading-Handwriting-with-Azure-AI-Vision-and-.NET-C.webp 1.5x, \/wp-content\/uploads\/2024\/07\/Reading-Handwriting-with-Azure-AI-Vision-and-.NET-C.webp 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=395"}],"version-history":[{"count":1,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/395\/revisions"}],"predecessor-version":[{"id":397,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/395\/revisions\/397"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media\/396"}],"wp:attachment":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}