{"id":22148671,"url":"https://github.com/kaicoh/serverless-assume-role","last_synced_at":"2025-03-24T12:42:53.085Z","repository":{"id":64230406,"uuid":"573413708","full_name":"kaicoh/serverless-assume-role","owner":"kaicoh","description":"A Serverless framework plugin to enable AWS assume role","archived":false,"fork":false,"pushed_at":"2023-02-17T23:47:58.000Z","size":643,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-07T13:05:23.584Z","etag":null,"topics":["aws","aws-sts","serverless","serverless-framework"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/kaicoh.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}},"created_at":"2022-12-02T12:06:58.000Z","updated_at":"2023-02-12T07:15:02.000Z","dependencies_parsed_at":"2024-12-01T23:40:24.447Z","dependency_job_id":null,"html_url":"https://github.com/kaicoh/serverless-assume-role","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":0.02941176470588236,"last_synced_commit":"7ab456eb9f0387631f91b645e691595cc63ab58b"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaicoh%2Fserverless-assume-role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaicoh%2Fserverless-assume-role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaicoh%2Fserverless-assume-role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaicoh%2Fserverless-assume-role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaicoh","download_url":"https://codeload.github.com/kaicoh/serverless-assume-role/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245274675,"owners_count":20588832,"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","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","aws-sts","serverless","serverless-framework"],"created_at":"2024-12-01T23:29:05.700Z","updated_at":"2025-03-24T12:42:53.061Z","avatar_url":"https://github.com/kaicoh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-assume-role\n\n[![Serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)\n[![main](https://github.com/kaicoh/serverless-assume-role/actions/workflows/test.yml/badge.svg)](https://github.com/kaicoh/serverless-assume-role/actions)\n[![Coverage Status](https://coveralls.io/repos/github/kaicoh/serverless-assume-role/badge.svg?branch=main)](https://coveralls.io/github/kaicoh/serverless-assume-role?branch=main)\n\nA Serverless framework plugin to enable AWS assume role.\n\n## Installation\n\nRun this command.\n\n```\n$ npm install --save-dev serverless-assume-role\n```\n\nAnd add the following to your serverless.yml file\n\n```\nplugins:\n  - serverless-assume-role\n\ncustom:\n  assumeRole:\n    stages:\n      # The stages this plugin executes Assume Role action.\n      - stg\n      - prod\n    params:\n      # These are all the same parameter to what AWS API uses.\n      # But the parameter names are all camelCased.\n      # If you want more details for each parameter, see AWS Documentation.\n      # https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html\n      roleArn: arn:aws:iam::012345678901:role/your-role-name\n      externalId: my-external-id\n      roleSessionName: serverless-framework-deployment\n```\n\nIt's done! Now when you run `serverless deploy --stage stg` or `serverless deploy --stage prod`, this plugin executes `AssumeRole` action before the deployment and then deploys your package with the IAM Role.\n\n## License\n\nThis software is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaicoh%2Fserverless-assume-role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaicoh%2Fserverless-assume-role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaicoh%2Fserverless-assume-role/lists"}