According to the documentation here - https://docs.aws.amazon.com/sdkfornet1/latest/apidocs/html/T_Amazon_Runtime_BasicAWSCredentials.htm
The BasicAWSCredentials class accepts SecureString for the SecretKey. This is good, because for my application I've stored a SecretKey somewhere using SecureString. However in my C# application, I have no option to instantiate this class with the SecureString parameter. My only options are String, String (AccessKey, SecretKey). This means I have to convert SecureString to String in my code, which defeats the purpose of using SecureString in the first place as far as my basic understanding goes.
When I look in Visual Studio, there are no overrides for the BasicAWSCredentials class. What am I missing here?
I'm using .NET 4 Client Profile (for infrastructure reasons) and AWSSDK.Core 3.3.24.3.
You're looking at documentation for an old version of the AWSSDK. It says it's for version 1.5.x from 2014. Take a look at https://docs.aws.amazon.com/sdkfornet/v3/apidocs/ instead.
Just did a quick search for SecureString on the site and saw this in one of the old migration documents (v1-v2):
Removal of SecureString
The use of System.Security.SecureString was removed in version 2 of the SDK because it is not available on the WinRT and Windows Phone 8 platforms.