Skip to content
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

Merged

Conversation

weidongxu-microsoft
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft commented Mar 5, 2021

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.

.withSku(StorageAccountSkuType.STANDARD_RAGRS)
.withGeneralPurposeAccountKindV2()
.withOnlyHttpsTraffic()
.withMinimumTlsVersion(MinimumTlsVersion.TLS1_2);
Copy link
Member

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?

Copy link
Member Author

@weidongxu-microsoft weidongxu-microsoft Mar 8, 2021

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.

@weidongxu-microsoft weidongxu-microsoft merged commit e9d211e into Azure:master Mar 8, 2021
@weidongxu-microsoft weidongxu-microsoft deleted the mgmt_storage-security branch March 8, 2021 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants