Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/azure/blobstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ func CreateStorageAccount(ctx context.Context, credentials *Credentials, subscri
Properties: &armstorage.AccountPropertiesCreateParameters{
AllowBlobPublicAccess: to.Ptr(false),
AccessTier: to.Ptr(armstorage.AccessTierCool),
// Azure defaults MinimumTLSVersion to TLS1_0 when unset; pin to TLS1_2
// so the account meets customer security baselines (Azure Policy).
MinimumTLSVersion: to.Ptr(armstorage.MinimumTLSVersionTLS12),
// Require secure transfer (HTTPS). Set explicitly rather than relying
// on the API default.
EnableHTTPSTrafficOnly: to.Ptr(true),
},
}, nil)
if err != nil {
Expand Down
Loading