{"id":31105989,"url":"https://github.com/m-radzikowski/omf-plugin-asp","last_synced_at":"2025-09-17T04:51:59.616Z","repository":{"id":48355203,"uuid":"66011478","full_name":"m-radzikowski/omf-plugin-asp","owner":"m-radzikowski","description":"Oh My Fish plugin for switching between AWS profiles.","archived":false,"fork":false,"pushed_at":"2021-07-30T10:50:54.000Z","size":20,"stargazers_count":24,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-13T11:34:23.711Z","etag":null,"topics":["aws-cli","aws-profiles","fish","fish-packages","fish-shell","omf","omf-plugin","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/m-radzikowski.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}},"created_at":"2016-08-18T16:06:24.000Z","updated_at":"2025-05-06T14:52:35.000Z","dependencies_parsed_at":"2022-09-08T12:51:29.021Z","dependency_job_id":null,"html_url":"https://github.com/m-radzikowski/omf-plugin-asp","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/m-radzikowski/omf-plugin-asp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-radzikowski%2Fomf-plugin-asp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-radzikowski%2Fomf-plugin-asp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-radzikowski%2Fomf-plugin-asp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-radzikowski%2Fomf-plugin-asp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-radzikowski","download_url":"https://codeload.github.com/m-radzikowski/omf-plugin-asp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-radzikowski%2Fomf-plugin-asp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275537148,"owners_count":25482345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws-cli","aws-profiles","fish","fish-packages","fish-shell","omf","omf-plugin","shell"],"created_at":"2025-09-17T04:51:58.214Z","updated_at":"2025-09-17T04:51:59.609Z","avatar_url":"https://github.com/m-radzikowski.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://cdn.rawgit.com/oh-my-fish/oh-my-fish/e4f1c2e0219a17e2c748b824004c8d0b38055c16/docs/logo.svg\" align=\"left\" width=\"144px\" height=\"144px\"/\u003e\n\n#### asp\n\n\u003e A plugin for [Oh My Fish][omf-link].\n\n[![MIT License][license-badge]](/LICENSE)\n[![Fish Shell Version][fish-badge]](https://fishshell.com)\n[![Oh My Fish Framework][omf-badge]][omf-link]\n\n\u003cbr/\u003e\n\nEnables quick switching between AWS profiles.\n\n## Prerequisites\n\n- [AWS CLI](https://aws.amazon.com/cli/)\n- [jq](https://stedolan.github.io/jq/)\n- AWK\n\n## Install\n\n```fish\nomf install git@github.com:mgoodness/plugin-asp.git\n```\n\n## Usage\n\n### Set profile\n\n```fish\nasp \u003caws_profile\u003e [region]\n```\n\n`asp` - **A**WS **S**et **P**rofile\n\nSets `$AWS_PROFILE` and `$AWS_DEFAULT_PROFILE` variables.  \nThe optional region value can be used if you wish to override the default region\nconfigured for the profile.\n\n### Get selected profile\n\n```fish\nagp\n```\n\n`agp` - **A**WS **G**et **P**rofile\n\nEchoes `$AWS_PROFILE` and `$AWS_DEFAULT_REGION`.\n\n### Clear selected profile\n\n```fish\nacp\n```\n\n`acp` - **A**WS **C**lear **P**rofile\n\nClears variables for selected profile and assumed role.\n\n### Assume role\n\n```fish\naar \u003crole_arn\u003e\n```\n\n`aar` - **A**WS **A**ssume **R**ole\n\nPerforms [STS Assume Role](https://docs.aws.amazon.com/cli/latest/reference/sts/assume-role.html) call\nand sets obtained `$AWS_ACCESS_KEY_ID`, `$AWS_SECRET_ACCESS_KEY`\nand `$AWS_SESSION_TOKEN` variables.\n\nTo clear assumed role variables execute either `acp`\nor `asp` command.\n\n# License\n\n[MIT][mit] © [Michael Goodness][author] et [al][contributors]\n\n\n[mit]:            https://opensource.org/licenses/MIT\n[author]:         https://github.com/mgoodness\n[contributors]:   https://github.com/mgoodness/plugin-asp/graphs/contributors\n[omf-link]:       https://www.github.com/oh-my-fish/oh-my-fish\n\n[license-badge]:  https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square\n[fish-badge]:     https://img.shields.io/badge/fish-v2.2.0-007EC7.svg?style=flat-square\n[omf-badge]:     https://img.shields.io/badge/Oh%20My%20Fish-Framework-007EC7.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-radzikowski%2Fomf-plugin-asp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-radzikowski%2Fomf-plugin-asp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-radzikowski%2Fomf-plugin-asp/lists"}