Difference between revisions of "Saml2aws login --download-browser-driver"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{saml2aws}} Category:SAML") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | [[saml2aws login]] --idp-account=your-idp-account [[--download-browser-driver]] | ||
+ | <pre> | ||
+ | Using IdP Account zkrbetanet to access Browser https://accounts.google.com/o/saml2/initsso?idpid=XXXXX&spid=YYYYY&forceauthn=false | ||
+ | To use saved password just hit enter. | ||
+ | ? Username [email protected] | ||
+ | ? Password ****************************** | ||
+ | Authenticating as [email protected] ... | ||
+ | Downloading Chromium 123.0.6312.4 (playwright build v1105) from https://playwright.azureedge.net/builds/chromium/1105/chromium-mac-arm64.zip | ||
+ | 133.1 MiB [====================] 100% 0.0s | ||
+ | Chromium 123.0.6312.4 (playwright build v1105) downloaded to /Users/user/Library/Caches/ms-playwright/chromium-1105 | ||
+ | Downloading FFMPEG playwright build v1009 from https://playwright.azureedge.net/builds/ffmpeg/1009/ffmpeg-mac-arm64.zip | ||
+ | 1 MiB [====================] 100% 0.0s | ||
+ | FFMPEG playwright build v1009 downloaded to /Users/user/Library/Caches/ms-playwright/ffmpeg-1009 | ||
+ | Downloading Firefox 123.0 (playwright build v1440) from https://playwright.azureedge.net/builds/firefox/1440/firefox-mac-13-arm64.zip | ||
+ | 76.7 MiB [====================] 100% 0.0s | ||
+ | Firefox 123.0 (playwright build v1440) downloaded to /Users/user/Library/Caches/ms-playwright/firefox-1440 | ||
+ | Downloading Webkit 17.4 (playwright build v1983) from https://playwright.azureedge.net/builds/webkit/1983/webkit-mac-13-arm64.zip | ||
+ | 65 MiB [====================] 100% 0.0s | ||
+ | Webkit 17.4 (playwright build v1983) downloaded to /Users/user/Library/Caches/ms-playwright/webkit-1983 | ||
+ | INFO[0058] opening browser URL="https://accounts.google.com/o/saml2/initsso?idpid=XXXXX&spid=YYYYY&forceauthn=false" provider=browser | ||
+ | INFO[0060] waiting ... provider=browser | ||
+ | INFO[0109] clean up browser provider=browser | ||
+ | Selected role: arn:aws:iam::12312313123:role/XXXXX | ||
+ | Requesting AWS credentials using SAML assertion. | ||
+ | Logged in as: arn:aws:sts::12312313123:assumed-role/XXXXXX/[email protected] | ||
+ | </pre> | ||
+ | |||
+ | Your new access key pair has been stored in the AWS configuration. | ||
+ | Note that it will expire at 2024-05-28 04:42:52 +0400 +04 | ||
+ | To use this credential, call the AWS CLI with the --profile option (e.g. aws --profile yourprofile ec2 describe-instances). | ||
+ | |||
+ | == Related == | ||
+ | * <code>download_browser_driver = true</code> in <code>[[~/.saml2aws]]</code> | ||
+ | * <code>gsed -i s/GoogleApp/Browser/g && cat ~/.saml2aws && saml2aws login --idp-account=default --download-browser-driver</code> | ||
== See also == | == See also == |
Latest revision as of 14:22, 21 June 2024
saml2aws login --idp-account=your-idp-account --download-browser-driver
Using IdP Account zkrbetanet to access Browser https://accounts.google.com/o/saml2/initsso?idpid=XXXXX&spid=YYYYY&forceauthn=false To use saved password just hit enter. ? Username [email protected] ? Password ****************************** Authenticating as [email protected] ... Downloading Chromium 123.0.6312.4 (playwright build v1105) from https://playwright.azureedge.net/builds/chromium/1105/chromium-mac-arm64.zip 133.1 MiB [====================] 100% 0.0s Chromium 123.0.6312.4 (playwright build v1105) downloaded to /Users/user/Library/Caches/ms-playwright/chromium-1105 Downloading FFMPEG playwright build v1009 from https://playwright.azureedge.net/builds/ffmpeg/1009/ffmpeg-mac-arm64.zip 1 MiB [====================] 100% 0.0s FFMPEG playwright build v1009 downloaded to /Users/user/Library/Caches/ms-playwright/ffmpeg-1009 Downloading Firefox 123.0 (playwright build v1440) from https://playwright.azureedge.net/builds/firefox/1440/firefox-mac-13-arm64.zip 76.7 MiB [====================] 100% 0.0s Firefox 123.0 (playwright build v1440) downloaded to /Users/user/Library/Caches/ms-playwright/firefox-1440 Downloading Webkit 17.4 (playwright build v1983) from https://playwright.azureedge.net/builds/webkit/1983/webkit-mac-13-arm64.zip 65 MiB [====================] 100% 0.0s Webkit 17.4 (playwright build v1983) downloaded to /Users/user/Library/Caches/ms-playwright/webkit-1983 INFO[0058] opening browser URL="https://accounts.google.com/o/saml2/initsso?idpid=XXXXX&spid=YYYYY&forceauthn=false" provider=browser INFO[0060] waiting ... provider=browser INFO[0109] clean up browser provider=browser Selected role: arn:aws:iam::12312313123:role/XXXXX Requesting AWS credentials using SAML assertion. Logged in as: arn:aws:sts::12312313123:assumed-role/XXXXXX/[email protected]
Your new access key pair has been stored in the AWS configuration. Note that it will expire at 2024-05-28 04:42:52 +0400 +04 To use this credential, call the AWS CLI with the --profile option (e.g. aws --profile yourprofile ec2 describe-instances).
Related[edit]
download_browser_driver = true
in~/.saml2aws
gsed -i s/GoogleApp/Browser/g && cat ~/.saml2aws && saml2aws login --idp-account=default --download-browser-driver
See also[edit]
Advertising: