{"id":50104,"library":"aws-aws-sdk-go-v2-credentials","title":"AWS SDK Go v2 Credentials","description":"Provides types and utilities for retrieving AWS credentials from various sources.","status":"active","version":"1.19.24","language":"go","source_language":null,"source_url":"https://github.com/aws/aws-sdk-go-v2","tags":["aws","credentials","authentication","sdk"],"install":[{"cmd":"go get github.com/aws/aws-sdk-go-v2/credentials","lang":"bash","label":"Install github.com/aws/aws-sdk-go-v2/credentials"}],"dependencies":[],"imports":[{"symbol":"credentials","correct":"github.com/aws/aws-sdk-go-v2/credentials"}],"quickstart":{"code":"package main\n\nimport (\n\t\"context\"\n\t\"github.com/aws/aws-sdk-go-v2/credentials\"\n)\n\nfunc main() {\n\tprovider := credentials.NewStaticCredentialsProvider(\"AKID\", \"SECRET\", \"\")\n\tcreds, _ := provider.Retrieve(context.Background())\n\t_ = creds\n}","lang":"go","description":"Creates a static credentials provider and retrieves credentials."},"warnings":[],"env_vars":null,"search_vec":"'authent':19 'aw':1,12,17 'credenti':5,13,18 'go':3 'provid':6 'retriev':11 'sdk':2,20 'sourc':16 'type':7 'util':9 'v2':4 'various':15","created_at":"2026-06-15T04:40:30.465808+00:00","updated_at":"2026-06-15T04:40:30.465808+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/aws/aws-sdk-go-v2","github":"https://github.com/aws/aws-sdk-go-v2","docs":"https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/credentials#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}