public void WriteBasicProfile() { using (var tester = new SharedCredentialsFileTester()) { tester.AssertWriteProfile("basic_profile", BasicCredentials, BasicProfileText); } }
public void WriteSessionProfile() { using (var tester = new SharedCredentialsFileTester()) { tester.AssertWriteProfile("session_profile", SessionCredentials, SessionProfileText); } }
public void WriteBasicProfile() { using (var tester = new SharedCredentialsFileTester()) { tester.AssertWriteProfile("basic_profile", BasicCredentials, BasicProfileText); } }
public void UpdateProfile() { using (var tester = new SharedCredentialsFileTester(SessionProfileText)) { var newToken = Guid.NewGuid().ToString(); ImmutableCredentials updatedCredentials = new ImmutableCredentials( SessionCredentials.AccessKey, SessionCredentials.SecretKey, newToken); tester.AssertWriteProfile("session_profile", updatedCredentials, SessionProfileText.Replace("session_aws_session_token", newToken)); } }
public void WriteSessionProfile() { using (var tester = new SharedCredentialsFileTester()) { tester.AssertWriteProfile("session_profile", SessionCredentials, SessionProfileText); } }
public void UpdateProfile() { using (var tester = new SharedCredentialsFileTester(SessionProfileText)) { var newToken = Guid.NewGuid().ToString(); ImmutableCredentials updatedCredentials = new ImmutableCredentials( SessionCredentials.AccessKey, SessionCredentials.SecretKey, newToken); tester.AssertWriteProfile("session_profile", updatedCredentials, SessionProfileText.Replace("session_aws_session_token", newToken)); } }