示例#1
0
 /// <summary>
 /// Registers an AWS credentials profile that can later be referenced by the profileName.
 /// This profile will only be visible for the current user.
 /// </summary>
 /// <param name="profileName">Name given to the AWS credentials.</param>
 /// <param name="accessKeyId">The AWS access key id</param>
 /// <param name="secretKey">The AWS secret key</param>
 public static void RegisterProfile(string profileName, string accessKeyId, string secretKey)
 {
     AWSCredentialsProfile.Persist(profileName, accessKeyId, secretKey);
 }