{"id":21904,"date":"2021-06-23T22:47:49","date_gmt":"2021-06-23T22:47:49","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=21904"},"modified":"2021-10-27T10:33:35","modified_gmt":"2021-10-27T10:33:35","slug":"how-terraform-authenticate-to-azure","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/how-terraform-authenticate-to-azure\/","title":{"rendered":"How Terraform Authenticate to Azure?"},"content":{"rendered":"\n<p><strong>How Terraform Authenticate to Azure?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Authenticating to Azure using the Azure CLI<\/li><li>Authenticating to Azure using Managed Service Identity<\/li><li>Authenticating to Azure using a Service Principal and a Client Certificate<\/li><li>Authenticating to Azure using a Service Principal and a Client Secret<\/li><\/ul>\n\n\n\n<p><strong>Reference<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>https:\/\/owendavies.net\/articles\/create-azure-virtual-machine-with-terraform\/<\/li><li>https:\/\/learn.hashicorp.com\/tutorials\/terraform\/azure-build?in=terraform\/azure-get-started<\/li><li>https:\/\/docs.microsoft.com\/en-us\/azure\/developer\/terraform\/create-linux-virtual-machine-with-infrastructure<\/li><li>https:\/\/owendavies.net\/articles\/create-azure-virtual-machine-with-terraform\/<\/li><li>https:\/\/gmusumeci.medium.com\/how-to-bootstrapping-azure-vms-with-terraform-c8fdaa457836<\/li><\/ul>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_52402\"><iframe loading=\"lazy\"  id=\"_ytid_19065\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_52402\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>How Terraform Authenticate to Azure? Authenticating to Azure using the Azure CLI Authenticating to Azure using Managed Service Identity Authenticating to Azure using a Service Principal and a Client Certificate&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-21904","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/21904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=21904"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/21904\/revisions"}],"predecessor-version":[{"id":24333,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/21904\/revisions\/24333"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=21904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=21904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=21904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}