Skip to content

Commit

Permalink
authentication: switching to use Azure CLI Token Authentication (#2387)
Browse files Browse the repository at this point in the history
* dependencies: upgrading to 0.2.0 of github.com/hashicorp/go-azure-helpers

* authentication: switching to use Azure CLI Token authentication

* documenting that only az 2.0 is supported

* Incorporating the changes from #2300
  • Loading branch information
tombuildsstuff authored Nov 27, 2018
1 parent c73c2e8 commit 8222b4b
Show file tree
Hide file tree
Showing 9 changed files with 211 additions and 61 deletions.
6 changes: 3 additions & 3 deletions azurerm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ func providerConfigure(p *schema.Provider) schema.ConfigureFunc {
MsiEndpoint: d.Get("msi_endpoint").(string),

// Feature Toggles
SupportsClientSecretAuth: true,
SupportsManagedServiceIdentity: d.Get("use_msi").(bool),
SupportsAzureCliCloudShellParsing: true,
SupportsClientSecretAuth: true,
SupportsManagedServiceIdentity: d.Get("use_msi").(bool),
SupportsAzureCliToken: true,
}

config, err := builder.Build()
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 17 additions & 17 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -844,36 +844,36 @@
"revisionTime": "2018-07-15T04:49:06Z"
},
{
"checksumSHA1": "YOs3XOIFl4xo5etkrYYdZgH7Kr0=",
"checksumSHA1": "6wvg4jOPIzX4P41T0BQidyhCZuo=",
"path": "github.com/hashicorp/go-azure-helpers/authentication",
"revision": "c51a3103be3beb7b0ae7256eabfca145382acfc1",
"revisionTime": "2018-11-22T15:17:43Z",
"version": "0.1.2",
"versionExact": "0.1.2"
"revision": "ec113df69f49ef0d7ce828c6433022c61fa474eb",
"revisionTime": "2018-11-26T13:55:26Z",
"version": "0.2.0",
"versionExact": "0.2.0"
},
{
"checksumSHA1": "QwsnT5sLpT2jJ/1qJQRvqU8xl14=",
"path": "github.com/hashicorp/go-azure-helpers/resourceproviders",
"revision": "c51a3103be3beb7b0ae7256eabfca145382acfc1",
"revisionTime": "2018-11-22T15:17:43Z",
"version": "0.1.2",
"versionExact": "0.1.2"
"revision": "ec113df69f49ef0d7ce828c6433022c61fa474eb",
"revisionTime": "2018-11-26T13:55:26Z",
"version": "0.2.0",
"versionExact": "0.2.0"
},
{
"checksumSHA1": "ip//Px6kdSuCH6OKEJUSMIgI3ng=",
"path": "github.com/hashicorp/go-azure-helpers/response",
"revision": "c51a3103be3beb7b0ae7256eabfca145382acfc1",
"revisionTime": "2018-11-22T15:17:43Z",
"version": "0.1.2",
"versionExact": "0.1.2"
"revision": "ec113df69f49ef0d7ce828c6433022c61fa474eb",
"revisionTime": "2018-11-26T13:55:26Z",
"version": "0.2.0",
"versionExact": "0.2.0"
},
{
"checksumSHA1": "Ji4mcyJSLYqsL5LWgYWVairiOpQ=",
"path": "github.com/hashicorp/go-azure-helpers/storage",
"revision": "c51a3103be3beb7b0ae7256eabfca145382acfc1",
"revisionTime": "2018-11-22T15:17:43Z",
"version": "0.1.2",
"versionExact": "0.1.2"
"revision": "ec113df69f49ef0d7ce828c6433022c61fa474eb",
"revisionTime": "2018-11-26T13:55:26Z",
"version": "0.2.0",
"versionExact": "0.2.0"
},
{
"checksumSHA1": "b8F628srIitj5p7Y130xc9k0QWs=",
Expand Down
Loading

0 comments on commit 8222b4b

Please sign in to comment.