{"id":21831376,"url":"https://github.com/nodef/extra-awsconfig","last_synced_at":"2026-02-17T19:38:06.693Z","repository":{"id":90491418,"uuid":"164213827","full_name":"nodef/extra-awsconfig","owner":"nodef","description":"Get ready to use AWS Config from parameters and environment variables.","archived":false,"fork":false,"pushed_at":"2025-04-08T17:12:22.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-20T21:40:44.572Z","etag":null,"topics":["amazon","aws","cli","command","config","console","environment","extra","parameter","service","shell","variable","web"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/extra-awsconfig","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-05T12:40:24.000Z","updated_at":"2025-04-08T17:12:26.000Z","dependencies_parsed_at":"2025-08-20T21:22:42.684Z","dependency_job_id":"86948c04-89e6-4524-a1eb-0eb3facdc9f3","html_url":"https://github.com/nodef/extra-awsconfig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nodef/extra-awsconfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-awsconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-awsconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-awsconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-awsconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodef","download_url":"https://codeload.github.com/nodef/extra-awsconfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-awsconfig/sbom","scorecard":{"id":590239,"data":{"date":"2025-08-11","repo":{"name":"github.com/nodef/extra-awsconfig","commit":"f2cc419261dd1332b453cfceb0ebddb56c7b6e55"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T21:40:49.578Z","repository_id":90491418,"created_at":"2025-08-20T21:40:49.578Z","updated_at":"2025-08-20T21:40:49.578Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29555790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T18:16:07.221Z","status":"ssl_error","status_checked_at":"2026-02-17T18:16:04.782Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon","aws","cli","command","config","console","environment","extra","parameter","service","shell","variable","web"],"created_at":"2024-11-27T19:10:03.697Z","updated_at":"2026-02-17T19:38:01.680Z","avatar_url":"https://github.com/nodef.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Get ready to use [AWS Config] from arguments and environment variables.\n\u003e Do you want to:\n\u003e - Have most of you AWS Config loaded from environment variables?\n\u003e - Handle JSON shared credentials and config files?\n\u003e - Get AWS Config from arguments?\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Setup\n\n1. Run `npm install -g extra-awsconfig` in console.\n2. To install this as a package use `npm install extra-awsconfig`.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Console\n\n```bash\nawsconfig\n# get default AWS config\n\nawsconfig --access_key_id \"...\" --secret_access_key \"...\"\nawsconfig --accessKeyId \"...\" --secretAccessKey \"...\"\nawsconfig --id \"...\" --key \"...\"\n# get AWS config with custom credentials\n## all commands are equivalent\n\nawsconfig --region \"us-west-1\"\n# get AWS config with region=\"us-west-1\"\n\nawsconfig --sslEnabled=0\n# get AWS config with SSL disabled\n## enable SSL with simply --sslEnabled\n\nawsconfig --profile dev\n# get AWS config with \"dev\" profile\n## credential and config associated with the profile is loaded\n\nawsconfig --credentialsFile credentials.json\n# use a custom credentials file\n## credentials/config file can be INI for JSON\n```\n\n\n### Reference\n\n```bash\nawsconfig [options]\n# -\u003e AWS config as JSON\n\n# Options:\n# --help: show this help\n# -i, --id:       set your AWS access key ID\n# -k, --key:      set your AWS secret access key\n# -e, --endpoint: set the endpoint to send service requests to\n# -r, --region:   set the region to send service requests to (us-east-1)\n# -p, --profile:  set the AWS config profile to use (default)\n# -f, --file:             set custom AWS config file path\n# -cf, --credentialsFile: set custom AWS credentails file path\n# ...: for more options check AWS Config options below\n\n# Environment variables:\n$AWS_ACCESS_KEY_ID           # set your default AWS access key ID\n$AWS_SECRET_ACCESS_KEY       # set your default AWS secret access key\n$AWS_DEFAULT_REGION          # set default region to send service requests to (us-east-1)\n$AWS_PROFILE                 # set default AWS config profile to use (default)\n$AWS_SHARED_CREDENTIALS_FILE # set default AWS credentails file path (~/.aws/credentials)\n$AWS_CONFIG_FILE             # set default AWS config file path (~/.aws/config)\n\n# Credential/Config file (INI):\n[default]\naws_access_key_id = ...\naws_secret_access_key = ...\nregion = us-east-1\n...\n\n# Credential/Config file (JSON, default profile):\n{\n  \"accessKeyId\": \"...\",\n  \"secretAccessKey\": \"...\",\n  \"region\": \"us-east-1\",\n  ...\n}\n\n# Credential/Config file (JSON, multi-profile):\n{\n  \"profiles\": true,\n  \"default\": {\n    \"accessKeyId\": \"...\",\n    \"secretAccessKey\": \"...\",\n    \"region\": \"us-east-1\",\n    ...\n  },\n  \"dev\": { ... },\n  ...\n}\n```\n\u003e See [AWS Config] options.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Package\n\n```javascript\nconst awsconfig = require('extra-awsconfig');\n\nawsconfig();\n// get default AWS config\n\nawsconfig({accessKeyId: '...', secretAccessKey: '...'});\n// get AWS config with custom credentials\n\nawsconfig({region: 'us-west-1'});\n// get AWS config with region=\"us-west-1\"\n\nawsconfig({sslEnabled: false});\n// get AWS config with SSL disabled\n\nawsconfig({profile: 'dev'});\n// get AWS config with \"dev\" profile\n\nawsconfig({credentialsFile: 'credentials.json'});\n// use a custom credentials file\n/// credentials/config file can be INI for JSON\n\nvar A = process.argv, o = {};\nfor(var i=0, I=A.length; i\u003cI;)\n  i = awsconfig.options(o, A[i], A, i);\nawsconfig(o);\n// get AWS config from arguments\n```\n\n\n### Reference\n\n```javascript\nconst awsconfig = require('extra-awsconfig');\n\nawsconfig.options(options, argument_key, arguments, index);\n// options: target object to store AWS config options\n// argument_key: name of the argument (ex: \"--help\")\n// arguments: arguments array (ex: process.argv)\n// index: current index in arguments array (ex: i=2...args.length)\n// -\u003e new index in arguments array\n\n\nawsconfig(options);\n// options: custom AWS config options\n// -\u003e AWS config options\n\n// Default options:\noptions = {\n  file: '~/.aws/config',                 // set custom AWS config file path\n  credentialsFile: '~/.aws/credentials', // set custom AWS credentails file path\n  ... /* for more options check AWS Config options below */\n};\n```\n\u003e See [AWS Config] options.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Similar\n\nDo you need anything similar?\n\u003e - [extra-amazontranslate] can translate long text to target language.\n\u003e - [extra-amazontts] can generate speech from text.\n\nSuggestions are welcome. Please [create an issue].\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n[![nodef](https://i.imgur.com/eO4zcjv.jpg)](https://nodef.github.io)\n\u003e References: [AWS Config], [AWS CLI environment variables].\n\n![](https://ga-beacon.deno.dev/G-RC63DPBH3P:SH3Eq-NoQ9mwgYeHWxu7cw/github.com/nodef/extra-awsconfig)\n\n[AWS Config]: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Config.html#constructor_details\n[extra-amazontranslate]: https://www.npmjs.com/package/extra-amazontranslate\n[extra-amazontts]: https://www.npmjs.com/package/extra-amazontts\n[create an issue]: https://github.com/nodef/extra-awsconfig/issues\n[AWS CLI environment variables]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodef%2Fextra-awsconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodef%2Fextra-awsconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodef%2Fextra-awsconfig/lists"}