{"id":22403336,"url":"https://github.com/springload/lp-aws-saml","last_synced_at":"2025-07-31T16:31:56.301Z","repository":{"id":54711986,"uuid":"153501934","full_name":"springload/lp-aws-saml","owner":"springload","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-24T17:52:51.000Z","size":61,"stargazers_count":6,"open_issues_count":5,"forks_count":2,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-06-19T06:48:12.932Z","etag":null,"topics":["aws","lastpass","saml"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/springload.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":"2018-10-17T18:06:17.000Z","updated_at":"2022-06-30T12:12:12.000Z","dependencies_parsed_at":"2024-06-19T06:29:09.284Z","dependency_job_id":null,"html_url":"https://github.com/springload/lp-aws-saml","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springload%2Flp-aws-saml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springload%2Flp-aws-saml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springload%2Flp-aws-saml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springload%2Flp-aws-saml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/springload","download_url":"https://codeload.github.com/springload/lp-aws-saml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228267806,"owners_count":17893841,"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","lastpass","saml"],"created_at":"2024-12-05T09:16:50.712Z","updated_at":"2024-12-05T09:16:51.456Z","avatar_url":"https://github.com/springload.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### LastPass x AWS x SAML = Headache for awscli?\n\n`lp-aws-saml` allows you to use the `awscli` on your machine when your login to the aws console is via LastPass SAML login only.\n\nIt even supports 2FA and Yubikey OTP for your LastPass login and will store your LastPass session in `~/.aws/lp_cookies`\nso you do not have to type the password every time you need new credentials.\n\n```\n$ lp-aws-saml -h\nGet temporary AWS credentials when using LastPass as a SAML login for AWS\n\nUsage:\n  lp-aws-saml [flags]\n\nFlags:\n  -d, --duration int            Duration (in seconds) for AWS credentials to be valid (default 3600)\n  -h, --help                    help for lp-aws-saml\n  -p, --profile_name string     AWS profile to set in ~/.aws/credentials (default \"default\")\n  -q, --quiet                   Silence output unless error\n  -s, --saml_config_id string   LastPass saml config ID\n  -u, --username string         LastPass username\n```\n\nAll flags can be specified in a configuration file `~/.aws/lp_config.toml`\n\n```toml\nusername = \"email@example.com\"\nsaml_config_id = \"12345\"\n```\n\n```\n$ lp-aws-saml\nLogging in with: email@example.com\nPassword: \nOTP: \nA new AWS CLI profile 'default' has been added.\nYou may now invoke the aws CLI tool as follows:\n\n    aws --profile default [...]\n\nThis token expires in 1 hours.\n```\n\nYou now have a new or updated entry in `~/.aws/credentials`\n\n```ini\n[default]\naws_access_key_id     = {YOUR_ACCESS_KEY_ID}\naws_secret_access_key = {YOUR_SECRET_ACCESS_KEY}\naws_session_token     = {YOUR_SESSION_TOKEN}\n```\n\n### Installation\n\nFor macOS you can install with brew:\n```sh\nbrew install springload/tools/lp-aws-saml\n```\n\nThere are `deb` and `rpm` packages and binaries for those who don't use packages. Just head up to the [releases](https://github.com/springload/lp-aws-saml/releases/latest) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringload%2Flp-aws-saml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringload%2Flp-aws-saml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringload%2Flp-aws-saml/lists"}