{"id":9755,"date":"2022-09-07T11:25:18","date_gmt":"2022-09-07T02:25:18","guid":{"rendered":"https:\/\/www.ecomottblog.com\/?p=9755"},"modified":"2022-09-07T11:25:18","modified_gmt":"2022-09-07T02:25:18","slug":"aws-single-sing-onaws-sso-%e6%94%b9%e3%82%81-aws-iam-identity-center-%e3%81%a7cli%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/test.ecomottblog.com\/?p=9755","title":{"rendered":"AWS Single Sing-On(AWS SSO) \u6539\u3081 AWS IAM Identity Center \u3067CLI\u3059\u308b"},"content":{"rendered":"<h1>\u306f\u3058\u3081\u306b<\/h1>\n<p>\u3053\u3093\u306b\u3061\u306f\u3002<br \/>\n\u5ca9\u6d25\u3067\u3059\u3002<\/p>\n<p>\u6700\u8fd1\u30a8\u30b3\u30e2\u30c3\u30c8\u3067\u306fAWS\u306e\u30de\u30eb\u30c1\u30a2\u30ab\u30a6\u30f3\u30c8\u904b\u7528\u3092Jump\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u5229\u7528\u3057\u305f\u65b9\u6cd5\u304b\u3089AWS Single Sign-On (AWS SSO)\u3092\u5229\u7528\u3057\u305f\u65b9\u5f0f\u306b\u5207\u308a\u66ff\u3048\u307e\u3057\u305f\u3002<br \/>\n\u5f0a\u793e\u3067\u306f\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u3068\u3057\u3066AWS\u3068Azure\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001IdP(Identify Provider)\u3068\u3057\u3066AzureAD\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067AWS\u3068Azure\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u4e00\u7b87\u6240\u3067\u7ba1\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u304a\u9670\u3067\u30e6\u30fc\u30b6\u30fc\u7ba1\u7406\u304c\u304b\u306a\u308a\u697d\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2022\/09\/SSO.png\" alt=\"SSO\" \/><\/p>\n<p>\u4eca\u56de\u306f\u793e\u5185\u3078\u306e\u696d\u52d9\u9023\u7d61\u3092\u517c\u306d\u3066AWS CLI\u3067SSO\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3092\u3056\u3063\u3068\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h1>\u524d\u63d0\u6761\u4ef6<\/h1>\n<p>\u672c\u30da\u30fc\u30b8\u3067\u306f\u4ee5\u4e0b\u3092\u524d\u63d0\u6761\u4ef6\u3068\u3057\u307e\u3059\u3002<\/p>\n<h2>AWS IAM Identity Center<\/h2>\n<p>\u307e\u305a\u3001AWS SSO\u3067\u3059\u304c\u6700\u8fd1\u540d\u79f0\u304c\u5909\u66f4\u3055\u308c\u308c\u300eAWS IAM Identity Center\u300f\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/aws.amazon.com\/jp\/about-aws\/whats-new\/2022\/07\/aws-single-sign-on-aws-sso-now-aws-iam-identity-center\/\">AWS Single Sign-On (AWS SSO) \u304c AWS IAM Identity Center \u306b<\/a><\/p>\n<p>AWS\u3067SSO\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u4eca\u5f8c\u306f\u306e\u6a5f\u80fd\u3067\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u3059\u3067\u306bSSO\u304c\u5229\u7528\u3067\u304d\u308b\u72b6\u614b\u3067\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5c0e\u5165\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u516c\u5f0f\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"https:\/\/docs.aws.amazon.com\/ja_jp\/singlesignon\/latest\/userguide\/getting-started.html\">AWS IAM Identity Center (successor to AWS Single Sign-On) \u958b\u59cb\u65b9\u6cd5<\/a><\/p>\n<h2>WSL2<\/h2>\n<p>Windows\u74b0\u5883\u306eWLS2\u3092\u5229\u7528\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/windows\/wsl\/install#manual-installation-steps\">\u516c\u5f0f<\/a>\u3092\u53c2\u7167\u3057\u3001WSL2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u4f5c\u696d\u306fWSL2\u4e0a\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>AWS CLI Ver.2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<\/ul>\n<pre><code class=\"bash\">$ curl \"https:\/\/awscli.amazonaws.com\/awscli-exe-linux-x86_64.zip\" -o \"awscliv2.zip\"\nunzip awscliv2.zip\nsudo .\/aws\/install\n<\/code><\/pre>\n<p><a href=\"https:\/\/docs.aws.amazon.com\/ja_jp\/cli\/latest\/userguide\/install-cliv2-linux.html#cliv2-linux-install\">\u53c2\u8003:\u516c\u5f0f<\/a><\/p>\n<ul>\n<li>Git \u30d0\u30fc\u30b8\u30e7\u30f3 1.7.9 \u4ee5\u964d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<\/ul>\n<pre><code class=\"bash\">$ sudo apt install git\n<\/code><\/pre>\n<ul>\n<li>curl 7.33 \u4ee5\u964d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<\/ul>\n<pre><code class=\"bash\">$ sudo apt install curl\n<\/code><\/pre>\n<ul>\n<li>Python3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<\/ul>\n<pre><code class=\"bash\">$ sudo apt install python3\n<\/code><\/pre>\n<ul>\n<li>Pip3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<\/ul>\n<pre><code class=\"bash\">$ sudo apt install python3-pip\n<\/code><\/pre>\n<h2>\u6dfb\u4ed8\u753b\u50cf\u3068\u30a2\u30ab\u30a6\u30f3\u30c8\u60c5\u5831<\/h2>\n<p>\u79d8\u533f\u60c5\u5831\u3092\u542b\u3080\u305f\u3081\u30e2\u30b6\u30a4\u30af\u3068\u30c0\u30df\u30fc\u6587\u5b57\u5217\u3078\u306e\u7f6e\u63db\u591a\u3081\u3067\u3059\u3002<br \/>\n\u9069\u5b9c\u81ea\u5206\u306e\u74b0\u5883\u306b\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h1>AWS SSO\u306e\u30b3\u30f3\u30d5\u30a3\u30b0\u8a2d\u5b9a<\/h1>\n<h2>configure\u306e\u5b9f\u884c<\/h2>\n<h3>\u5b9f\u884c\u30b3\u30de\u30f3\u30c9<\/h3>\n<pre><code class=\"bash\">$ aws configure sso\n<\/code><\/pre>\n<dl>\n<dt>SSO start URL<\/dt>\n<dd>{AWS \u30a2\u30af\u30bb\u30b9\u30dd\u30fc\u30bf\u30eb\u306e URL}<br \/>\nIAM Identity Center\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/dd>\n<dt>SSO Region<\/dt>\n<dd>ap-northeast-1<\/dd>\n<\/dl>\n<p>\u4e0a\u8a18\u3092\u5165\u529b\u3057\u3066Enter\u3092\u62bc\u4e0b\u3059\u308b\u3068\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<h3>\u5b9f\u884c\u4f8b<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2022\/09\/2022-08-03-17-18-46.png\" alt=\"aws configure sso\" \/><\/p>\n<p>\u4ee5\u4e0b\u3088\u308a\u30d6\u30e9\u30a6\u30b6\u306e\u753b\u9762\u3067\u306e\u64cd\u4f5c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u3010\u30d6\u30e9\u30a6\u30b6\u3011IdP\u5074\u306e\u8a8d\u8a3c\u753b\u9762<\/h2>\n<p>\u5f0a\u793e\u306e\u5834\u5408\u3001IdP\u304cAzureAD\u306a\u306e\u3067\u4e00\u5ea6AzureAD\u5074\u3067\u8a8d\u8a3c\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2022\/09\/2022-09-06.png\" alt=\"AzureAD \u8a8d\u8a3c\" \/><\/p>\n<h2>\u3010\u30d6\u30e9\u30a6\u30b6\u3011AWS\u5074\u306e\u78ba\u8a8d\u753b\u9762<\/h2>\n<p>\u8a8d\u8a3c\u304c\u6210\u529f\u3059\u308b\u3068AWS\u5074\u306e\u78ba\u8a8d\u753b\u9762\u306b\u9077\u79fb\u3059\u308b\u306e\u3067\u3001\u300cAllow\u300d\u3092\u62bc\u4e0b\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2022\/09\/2022-08-03-18-11-22.png\" alt=\"Allow\" \/><\/p>\n<h2>\u3010\u30d6\u30e9\u30a6\u30b6\u3011\u6210\u529f\u6642<\/h2>\n<p>AWS\u5074\u306e\u30b5\u30a4\u30f3\u30a4\u30f3\u304c\u6210\u529f\u3057\u305f\u5834\u5408<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2022\/09\/2022-08-03-18-12-35.png\" alt=\"Request approved\" \/><\/p>\n<p>\u4ee5\u4e0b\u304b\u3089\u306f\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u623b\u308a\u307e\u3059\u3002<\/p>\n<h2>AWS\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u9078\u629e<\/h2>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067\u306e\u8a8d\u8a3c\u304c\u6210\u529f\u3059\u308b\u3068\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u5074\u3067\u306f\u81ea\u5206\u304c\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306aAWS\u30a2\u30ab\u30a6\u30f3\u30c8\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u5229\u7528\u3059\u308b\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\uff08\u6570\u304c\u591a\u304f\u3066\u3082\u9078\u3076\u3060\u3051\u306a\u306e\u3067\u697d\u3068\u3044\u3048\u3070\u697d\u3002\u6570\u304c\u591a\u3044\u3068\u63a2\u3059\u306e\u304c\u5927\u5909\u3068\u3044\u3048\u3070\u5927\u5909\uff09<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2022\/09\/2022-08-03-18-15-52.png\" alt=\"AWSAccountList\" \/><\/p>\n<h2>\u30ed\u30fc\u30eb\u306e\u9078\u629e<\/h2>\n<p>AWS CLI\u3067\u5229\u7528\u3059\u308b\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u9078\u629e\u5f8c\u3001\u6b21\u306e\u753b\u9762\u3067\u5229\u7528\u3059\u308b\u30ed\u30fc\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\uff12\u3064\u306e\u30ed\u30fc\u30eb\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2022\/09\/2022-08-03-18-19-06.png\" alt=\"AWSRoleList\" \/><\/p>\n<h2>\u30ea\u30fc\u30b8\u30e7\u30f3\u7b49\u306e\u8a2d\u5b9a<\/h2>\n<p>\u30ed\u30fc\u30eb\u3092\u9078\u629e\u5f8c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30ea\u30fc\u30b8\u30e7\u30f3\u3001\u51fa\u529b\u66f8\u5f0f\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\u3001\u901a\u5e38\u306f\u5909\u66f4\u305b\u305a\u305d\u306e\u307e\u307eEnter\u30ad\u30fc\u3067\u78ba\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h3>\u51fa\u529b\u4f8b<\/h3>\n<pre><code class=\"bash\">CLI default client Region [ap-northeast-1]:\nCLI default output format [json]:\nCLI profile name [{\u30ed\u30fc\u30eb\u540d}-{AWS\u30a2\u30ab\u30a6\u30f3\u30c8ID}]:\n<\/code><\/pre>\n<h2>\u8a2d\u5b9a\u5b8c\u4e86\u5f8c<\/h2>\n<p>\u4f5c\u6210\u306e\u4f8b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2022\/09\/2022-08-03-18-20-09.png\" alt=\"DefaultSetting\" \/><\/p>\n<p>\u8a2d\u5b9a\u306f\u4ee5\u4e0a\u3067\u3059\u3002<br \/>\n\u4ee5\u4e0b\u304b\u3089\u306f\u4f5c\u6210\u3057\u305f\u8a2d\u5b9a\u3092\u5229\u7528\u3057\u3066AWS CLI\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<h2>\u78ba\u8a8d\u4f5c\u696d\uff08\u81ea\u8eab\u306e\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\uff09<\/h2>\n<p>\u9069\u5207\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u9069\u7528\u3055\u308c\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<h3>\u5b9f\u884c\u30b3\u30de\u30f3\u30c9<\/h3>\n<pre><code class=\"bash\">aws sts get-caller-identity --profile AWSAdministratorAccess-111111111111\n<\/code><\/pre>\n<h3>\u5b9f\u884c\u4f8b<\/h3>\n<pre><code class=\"bash\">$ aws sts get-caller-identity --profile AWSAdministratorAccess-111111111111\n{\n\"UserId\": \"XXX:yasushi.iwatsu@XXX.onmicrosoft.com\",\n\"Account\": \"XXXXXXXXXXXX\",\n\"Arn\": \"arn:aws:sts::111111111111:assumed-role\/AWSReservedSSO_AWSAdministratorAccess_99999999999999\/yasushi.iwatsu@XXX.onmicrosoft.com\"\n}\n<\/code><\/pre>\n<p>\u3053\u306e\u6642\u70b9\u3067\u7279\u5b9a\u306eAWS\u30a2\u30ab\u30a6\u30f3\u30c8\/\u30ed\u30fc\u30eb\u3067AWS CLI\u304c\u5b9f\u884c\u53ef\u80fd\u306a\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3069\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u304c\u751f\u6210\u3055\u308c\u3066\u3044\u308b\u304b\u306e\u5468\u8fba\u78ba\u8a8d\u3067\u3059\u3002\uff08\u8208\u5473\u304c\u3042\u308b\u4eba\u5411\u3051\uff09<\/p>\n<h2>\u78ba\u8a8d\u4f5c\u696d(config\u30d5\u30a1\u30a4\u30eb)<\/h2>\n<p><code>aws config sso<\/code> \u30b3\u30de\u30f3\u30c9\u3067\u4f5c\u6210\u3055\u308c\u305f\u8a2d\u5b9a\u306f <code>~\/.aws\/config<\/code> \u306b\u751f\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\nconfig\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h3>\u5b9f\u884c\u30b3\u30de\u30f3\u30c9<\/h3>\n<pre><code class=\"bash\">$ cat ~\/.aws\/config\n<\/code><\/pre>\n<h3>\u5b9f\u884c\u4f8b<\/h3>\n<pre><code class=\"bash\">$ cat .aws\/config\n[default]\nregion = ap-northeast-1\noutput = json\n\n(\u4e2d\u7565)\n\n[profile {\u81ea\u5206\u304c\u9078\u629e\u3057\u305f\u30ed\u30fc\u30eb\u540d}-{\u81ea\u5206\u304c\u9078\u629e\u3057\u305fAWS\u30a2\u30ab\u30a6\u30f3\u30c8ID}]\nsso_start_url = https:\/\/d-0000000000.awsapps.com\/start\nsso_region = ap-northeast-1\nsso_account_id = {\u81ea\u5206\u304c\u9078\u629e\u3057\u305fAWS\u30a2\u30ab\u30a6\u30f3\u30c8ID}\nsso_role_name = {\u81ea\u5206\u304c\u9078\u629e\u3057\u305f\u30ed\u30fc\u30eb\u540d}\nregion = ap-northeast-1\noutput = json\n<\/code><\/pre>\n<p>\u203b\u4e00\u90e8\u4fee\u6b63\u6e08\u307f<\/p>\n<p>\u30ed\u30fc\u30eb\u3068AWS\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u8a2d\u5b9a\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>AWS SSO\u306e\u30ed\u30b0\u30a2\u30a6\u30c8<\/h2>\n<p>AWS CLI\u4e0a\u3067\u306eSSO\u304b\u3089\u306e\u30ed\u30b0\u30a2\u30a6\u30c8\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<h3>\u5b9f\u884c\u30b3\u30de\u30f3\u30c9<\/h3>\n<pre><code class=\"bash\">$ aws sso logout\n<\/code><\/pre>\n<h3>\u5b9f\u884c\u4f8b<\/h3>\n<p>\u4ee5\u4e0b\u306e\u4f8b\u3067\u306flogout\u5b9f\u884c\u5f8c\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3092\u8868\u793a\u3057token\u306e\u6709\u52b9\u671f\u9650\u304c\u9069\u5207\u306b\u7121\u52b9\u5316\u3055\u308c\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"bash\">$ aws sso logout\n$ aws sts get-caller-identity --profile AWSAdministratorAccess-111111111111\n\nError loading SSO Token: The SSO access token has either expired or is otherwise invalid.\n<\/code><\/pre>\n<h2>AWS SSO\u306e\u30ed\u30b0\u30a4\u30f3<\/h2>\n<p>aws config sso\u8a2d\u5b9a\u5f8c\u306b\u3001\u518d\u3073\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b <code>aws sso login<\/code> \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<h3>\u5b9f\u884c\u30b3\u30de\u30f3\u30c9\u4f8b<\/h3>\n<pre><code class=\"bash\">$ aws sso login --profile {\u81ea\u5206\u304c\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u540d}\n<\/code><\/pre>\n<h3>\u5b9f\u884c\u4f8b<\/h3>\n<pre><code class=\"bash\">$ aws sso login --profile AWSAdministratorAccess-111111111111\n$ aws sts get-caller-identity --profile AWSAdministratorAccess-111111111111\n{\n\"UserId\": \"XXX:yasushi.iwatsu@XXX.onmicrosoft.com\",\n\"Account\": \"111111111111\",\n\"Arn\": \"arn:aws:sts::111111111111:assumed-role\/AWSReservedSSO_AWSAdministratorAccess_99999999999999\/yasushi.iwatsu@XXX.onmicrosoft.com\"\n}\n<\/code><\/pre>\n<h1>\u88dc\u8db3<\/h1>\n<p>\u666e\u6bb5AWS CLI\u3092\u3042\u307e\u308a\u3067\u4f7f\u308f\u306a\u3044\u4eba\u3067\u3042\u308c\u3070AWS SSO\u306e\u30ed\u30b0\u30a4\u30f3\u5f8c\u306b\u8868\u793a\u3055\u308c\u308b&#8221;Command line or programmatic access&#8221;\u306e\u30ea\u30f3\u30af\u304b\u3089\u3001\u5404\u30ed\u30fc\u30eb\u3054\u3068\u306e\u30af\u30ec\u30c7\u30f3\u30b7\u30e3\u30eb\u304c\u751f\u6210\u3055\u308c\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u30b3\u30d4\u30da\u3057\u3066\u74b0\u5883\u5909\u6570\u306b\u8a2d\u5b9a\u3059\u308c\u3070aws configure sso\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u306a\u304f\u3066\u3082AWS CLI\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2022\/09\/2022-09-06-17-45.png\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2022\/09\/2022-09-06-17-44.png\" alt=\"\" \/><\/p>\n<p>\u305f\u3060\u3057\u3001\u3053\u306e\u30af\u30ec\u30c7\u30f3\u30b7\u30e3\u30eb\u306f\u4e00\u6642\u7684\u306a\u3082\u306e\u306a\u306e\u3067\u6642\u9593\u7d4c\u904e\u3067\u5931\u52b9\u3057\u307e\u3059\u3002(aws sso login\u3067\u751f\u6210\u3055\u308c\u308b\u30af\u30ec\u30c7\u30f3\u30b7\u30e3\u30eb\u3082\u4e00\u6642\u7684\u306a\u30af\u30ec\u30c7\u30f3\u30b7\u30e3\u30eb\uff09<\/p>\n<p>\u8907\u6570\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u9806\u6b21\u5207\u308a\u66ff\u3048\u3066\u5229\u7528\u3059\u308b\u5834\u5408\u306b\u306f\u30b3\u30d4\u30da\u304c\u8f9b\u304f\u306a\u3063\u3066\u304f\u308b\u306e\u3067\u3001\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306faws sso login\u30b3\u30de\u30f3\u30c9\u3067\u5229\u7528\u3059\u308b\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u307b\u3046\u304cAWS CLI\u304c\u697d\u306b\u5229\u7528\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u6642\u9593\u7d4c\u904e\u3067\u5931\u52b9\u3059\u308b\u306e\u306f\u3001\u9006\u306b\u3044\u3048\u3070\u300c\u4f7f\u3044\u6368\u3066\u3067\u304d\u308b\u300d\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001\u6c38\u7d9a\u3059\u308b\u30af\u30ec\u30c7\u30f3\u30b7\u30e3\u30eb\u60c5\u5831\u3088\u308a\u3082\u30bb\u30ad\u30e5\u30a2\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h1>\u307e\u3068\u3081<\/h1>\n<ul>\n<li>\u30de\u30eb\u30c1\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u4f7f\u3046\u306a\u3089AWS SSO\u304c\u4fbf\u5229<\/li>\n<li>AWS SSO\u304c\u5229\u7528\u53ef\u80fd\u306a\u3089aws config sso\u3092\u4f7f\u3063\u3066AWS\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u7c21\u5358\u306b\u4f5c\u308c\u308b<\/li>\n<li>aws sso\u30b3\u30de\u30f3\u30c9\u3067\u7c21\u5358\u306b\u30a2\u30ab\u30a6\u30f3\u30c8\u3068\u30ed\u30fc\u30eb\u3092AWS CLI\u3067\u5229\u7528\u3067\u304d\u308b<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u3053\u3093\u306b\u3061\u306f\u3002 \u5ca9\u6d25\u3067\u3059\u3002 \u6700\u8fd1\u30a8\u30b3\u30e2\u30c3\u30c8\u3067\u306fAWS\u306e\u30de\u30eb\u30c1\u30a2\u30ab\u30a6\u30f3\u30c8\u904b\u7528\u3092Jump\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u5229\u7528\u3057\u305f\u65b9\u6cd5\u304b\u3089AWS Single Sign-On (AWS SSO)\u3092\u5229\u7528\u3057\u305f\u65b9\u5f0f\u306b\u5207\u308a\u66ff\u3048\u307e\u3057\u305f\u3002 \u5f0a\u793e\u3067\u306f\u30af [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":9757,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[24,129],"_links":{"self":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/9755"}],"collection":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9755"}],"version-history":[{"count":20,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/9755\/revisions"}],"predecessor-version":[{"id":9791,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/9755\/revisions\/9791"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/media\/9757"}],"wp:attachment":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}