Skip to content

Instantly share code, notes, and snippets.

View plombardi89's full-sized avatar
🤔
Darwin. I Ching. Improvise. Adapt.

Philip Lombardi plombardi89

🤔
Darwin. I Ching. Improvise. Adapt.
View GitHub Profile
@plombardi89
plombardi89 / authorize.go
Created April 30, 2020 01:17 — forked from ItalyPaleAle/authorize.go
Authorize Azure SDKs for Go with a Service Principal (Azure AD token), including Azure Storage SDK for Go
package main
import (
"fmt"
"time"
"github.com/Azure/azure-storage-blob-go/azblob"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/adal"
"github.com/Azure/go-autorest/autorest/azure"