-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mgmt, make storage account more secure by setting better default #19649
mgmt, make storage account more secure by setting better default #19649
Conversation
.withSku(StorageAccountSkuType.STANDARD_RAGRS) | ||
.withGeneralPurposeAccountKindV2() | ||
.withOnlyHttpsTraffic() | ||
.withMinimumTlsVersion(MinimumTlsVersion.TLS1_2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user still able to customize this one, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, customer can configure differently as in test code https://github.com/Azure/azure-sdk-for-java/pull/19649/files#diff-edf813069045825a9ed68c4408e389ba75eae39461b4a2ff37b8a5df20469e05R246-R250
The default here in SDK matches Portal default.
By default, minimal TLS version will be 1.2
HTTPS only is already service default, so no change on this even with code added to SDK.
This could be a behavior change, though I think it be worth it in long term.