Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does toolkit_artifact_guid mean in AWS?

I am working on a .NET Core application for AWS. After reading this post, I added a file named "credentials" (without extension) in the folder: "C:\Users\Daan\". In this text file, the access key and the secret access key are both there. Unfortunately, the Credentials property is not set after running my code. Other properties such as Region and Profile are set correctly based on my appsettings file. What becomes clear is that my program modifies the credentials file by adding to the credentials file.

toolkit_artifact_guid=[A GUID]

Can someone explain me what this means and how I fix it? By fixing I mean that my credentials file is not modified but just read to set my credentials property of the awsoptions variable.

It is important to know that I created this file myself (not with the CLI), I double checked that the credentials are correct and that this is my code. Moreover, I do have .NET expierence but I just started working with AWS.

public void ConfigureServices(IServiceCollection services)
{
    services.AddMvc();
    var awsOptions = Configuration.GetAWSOptions();        
    services.AddDefaultAWSOptions(awsOptions);
    services.AddAWSService<Amazon.S3.IAmazonS3>();
}

-

like image 679
Daan Avatar asked Sep 19 '17 19:09

Daan


People also ask

What is AWS profile name?

A named profile is a collection of settings and credentials that you can apply to a AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files.

What is Source_profile in AWS config?

source_profile - The AWS CLI profile that contains credentials / configuration the CLI should use for the initial assume-role call. This profile may be another profile configured to use assume-role , though if static credentials are present in the profile they will take precedence.

Where do I find my AWS credentials?

The credentials file is located at ~/.aws/credentials on Linux or macOS, or at C:\Users\ USERNAME \.aws\credentials on Windows. This file can contain the credential details for the default profile and any named profiles.

What is anonymous user in AWS?

In some cases, you might want to create a client that is not associated with any credentials. This enables you to make anonymous requests to a service. For example, you can configure both Amazon S3 objects and Amazon CloudSearch domains to allow anonymous access.


1 Answers

"toolkit_artifact_guid" could get populated in the "credentials" file due to 3rd party extensions and updates.

Most probably could be due to AWS Toolkit for Visual Studio.

like image 128
Dinesh Halpage Avatar answered Oct 20 '22 08:10

Dinesh Halpage