{"id":142,"date":"2022-06-29T16:53:22","date_gmt":"2022-06-29T07:53:22","guid":{"rendered":"https:\/\/baresupport.jp\/blog\/?p=142"},"modified":"2022-06-29T16:53:23","modified_gmt":"2022-06-29T07:53:23","slug":"assume-role%e3%82%92%e5%88%a9%e7%94%a8%e3%81%97%e3%81%a6%e3%82%bb%e3%82%ad%e3%83%a5%e3%82%a2%e3%81%abaws%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e3%81%b8%e3%81%ae%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9","status":"publish","type":"post","link":"https:\/\/baresupport.jp\/blog\/2022\/06\/29\/142\/","title":{"rendered":"Assume Role\u3092\u5229\u7528\u3057\u3066\u30bb\u30ad\u30e5\u30a2\u306bAWS\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u5f97\u308b\u65b9\u6cd5\ufffc"},"content":{"rendered":"\n<p>Assume Role\u306f\u3001IAM\u30e6\u30fc\u30b6\u3092\u4f5c\u6210\u3057\u3066Credential\u3092\u767a\u884c\u3057\u306a\u304f\u3066\u3082\u3001\u4e00\u6642\u7684\u306bAWS\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u5f97\u308b\u4e8b\u304c\u53ef\u80fd\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002<br>EC2\u306a\u3069\u306bIAM\u30ed\u30fc\u30eb\u3092\u30a2\u30b5\u30a4\u30f3\u3057\u305f\u969b\u306b\u3082\u5185\u90e8\u3067\u540c\u4e00\u306e\u51e6\u7406\u304c\u767a\u751f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">\u3053\u306e\u8a18\u4e8b\u306e\u76ee\u6b21<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/baresupport.jp\/blog\/2022\/06\/29\/142\/#Assume_Role_%E3%81%A8%E3%81%AF%EF%BC%9F\" >Assume Role \u3068\u306f\uff1f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/baresupport.jp\/blog\/2022\/06\/29\/142\/#%E5%88%A9%E7%94%A8%E6%96%B9%E6%B3%95\" >\u5229\u7528\u65b9\u6cd5<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/baresupport.jp\/blog\/2022\/06\/29\/142\/#AWS_%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E4%B8%8A%E3%81%A7%E3%81%AE%E5%88%A9%E7%94%A8\" >AWS \u30ea\u30bd\u30fc\u30b9\u4e0a\u3067\u306e\u5229\u7528<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/baresupport.jp\/blog\/2022\/06\/29\/142\/#%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E7%92%B0%E5%A2%83%E4%B8%8A%E3%81%A7%E3%81%AE%E5%88%A9%E7%94%A8\" >\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u4e0a\u3067\u306e\u5229\u7528<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/baresupport.jp\/blog\/2022\/06\/29\/142\/#%E3%81%BE%E3%81%A8%E3%82%81\" >\u307e\u3068\u3081<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Assume_Role_%E3%81%A8%E3%81%AF%EF%BC%9F\"><\/span>Assume Role \u3068\u306f\uff1f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u901a\u5e38\u3001\u975e\u516c\u958b\u306aAWS\u30ea\u30bd\u30fc\u30b9\u3078\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084AWS CLI\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5834\u5408\u306b\u306fCredential\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7c21\u5358\u306a\u65b9\u6cd5\u3068\u3057\u3066\u306fIAM\u30e6\u30fc\u30b6\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u30e6\u30fc\u30b6\u7528\u306b\u767a\u884c\u3057\u305fCredential\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002<br>\u3053\u306e\u5834\u5408\u3001\u8a8d\u53ef\u6761\u4ef6\u306fIAM\u30e6\u30fc\u30b6\u306b\u30a2\u30b5\u30a4\u30f3\u3055\u308c\u305fIAM\u30dd\u30ea\u30b7\u30fc\u304c\u53c2\u7167\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"591\" src=\"https:\/\/baresupport.jp\/blog\/wp-content\/uploads\/2022\/06\/assume_role_202205-snap-1-1024x591.png\" alt=\"\" class=\"wp-image-143\" srcset=\"https:\/\/baresupport.jp\/blog\/wp-content\/uploads\/2022\/06\/assume_role_202205-snap-1-1024x591.png 1024w, https:\/\/baresupport.jp\/blog\/wp-content\/uploads\/2022\/06\/assume_role_202205-snap-1-300x173.png 300w, https:\/\/baresupport.jp\/blog\/wp-content\/uploads\/2022\/06\/assume_role_202205-snap-1-768x444.png 768w, https:\/\/baresupport.jp\/blog\/wp-content\/uploads\/2022\/06\/assume_role_202205-snap-1.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u4e0a\u8a18\u30b1\u30fc\u30b9\u306e\u5834\u5408\u3001AWS\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u9069\u5207\u306a\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u3092\u884c\u3046\u305f\u3081\u306b\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306e\u5ea6\u306bCredential\u306e\u767a\u884c\u3092\u76ee\u7684\u3068\u3057\u305fIAM\u30e6\u30fc\u30b6\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3068\u306a\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u7ba1\u7406\u306e\u7169\u96d1\u6027\u3084\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4fdd\u8b77\uff08\u4e0d\u7528\u610f\u306a\u60c5\u5831\u6d41\u51fa\u963b\u6b62\uff09\u306e\u89b3\u70b9\u304b\u3089\u3053\u306e\u3088\u3046\u306a\u8a2d\u8a08\u306f\u30aa\u30b9\u30b9\u30e1\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u63a8\u5968\u3055\u308c\u308b\u306e\u304c\u3001Assume Role\u3092\u5229\u7528\u3057\u305f\u74b0\u5883\u8a2d\u8a08\u3068\u306a\u308a\u307e\u3059\u3002<br>\u3053\u306e\u5834\u5408\u3001\u8a8d\u53ef\u6761\u4ef6\u306fIAM\u30ed\u30fc\u30eb\u306e\u4fe1\u983c\u30dd\u30ea\u30b7\u30fc\u3068\u30a2\u30b5\u30a4\u30f3\u3055\u308c\u305fIAM\u30dd\u30ea\u30b7\u30fc\u304c\u53c2\u7167\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"591\" src=\"https:\/\/baresupport.jp\/blog\/wp-content\/uploads\/2022\/06\/assume_role_202205-snap-2-1024x591.png\" alt=\"\" class=\"wp-image-144\" srcset=\"https:\/\/baresupport.jp\/blog\/wp-content\/uploads\/2022\/06\/assume_role_202205-snap-2-1024x591.png 1024w, https:\/\/baresupport.jp\/blog\/wp-content\/uploads\/2022\/06\/assume_role_202205-snap-2-300x173.png 300w, https:\/\/baresupport.jp\/blog\/wp-content\/uploads\/2022\/06\/assume_role_202205-snap-2-768x444.png 768w, https:\/\/baresupport.jp\/blog\/wp-content\/uploads\/2022\/06\/assume_role_202205-snap-2.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u4e0a\u8a18\u30b1\u30fc\u30b9\u306e\u5834\u5408\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u90e8\u306bCredential\u3092\u5185\u5305\u3059\u308b\u5fc5\u8981\u304c\u7121\u3044\u305f\u3081\u60c5\u5831\u6d41\u51fa\u306e\u5371\u967a\u6027\u3092\u6291\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001AWS\u5074\u3067\u7d71\u5408\u7684\u306b\u8a8d\u8a3c\uff0f\u8a8d\u53ef\u304c\u5236\u5fa1\u53ef\u80fd\u3067\u3042\u308b\u305f\u3081\u3001CloudFormation\u306a\u3069\u3092\u5229\u7528\u3057\u305fIaC\u5316\u304c\u5bb9\u6613\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u304b\u3089\u3001AWS\u4e0a\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3092\u884c\u3046\u969b\u306b\u306fAssume Role\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u5c1a\u3001Assume Role\u3067\u53d6\u5f97\u3057\u305f\u4e00\u6642\u7684\u306a\u8a8d\u8a3c\u60c5\u5831\uff08Credential\uff09\u306f\u3001\u65e2\u5b9a\u3067\u306f\u300c1\u6642\u9593\u300d\u3067\u5ec3\u68c4\u3055\u308c\u307e\u3059\u3002\u6700\u5927\u3067\u300c12\u6642\u9593\u300d\u307e\u3067\u4fdd\u6301\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%88%A9%E7%94%A8%E6%96%B9%E6%B3%95\"><\/span>\u5229\u7528\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u4ee5\u4e0b\u3067\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u304a\u3044\u3066Assume Role\u3092\u5229\u7528\u3059\u308b\u969b\u306e\u4e00\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"AWS_%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E4%B8%8A%E3%81%A7%E3%81%AE%E5%88%A9%E7%94%A8\"><\/span>AWS \u30ea\u30bd\u30fc\u30b9\u4e0a\u3067\u306e\u5229\u7528<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>EC2\u3084Lambda\u306a\u3069\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30c8\u30ea\u30bd\u30fc\u30b9\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u306f\u3001\u305d\u306e\u30ea\u30bd\u30fc\u30b9\u3078\u30a2\u30b5\u30a4\u30f3\u3055\u308c\u305fIAM \u30ed\u30fc\u30eb\u306b\u5f93\u3063\u3066\u52d5\u7684\u306bAssume Role\u304c\u306a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e0a\u3067\u5229\u7528\u3059\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304cAWS\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u306f\u7279\u6bb5\u610f\u8b58\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u306fAWS SDK\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u3082\u540c\u69d8\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E7%92%B0%E5%A2%83%E4%B8%8A%E3%81%A7%E3%81%AE%E5%88%A9%E7%94%A8\"><\/span>\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u4e0a\u3067\u306e\u5229\u7528<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u74b0\u5883\u306a\u3069\u3067AWS\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u5f97\u308b\u969b\u306b\u306f\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u30b9\u30a4\u30c3\u30c1\u30ed\u30fc\u30eb\u304c\u5c0e\u5165\u3055\u308c\u305fAWS\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u5bfe\u8c61\u3068\u3057\u3001\u540d\u524d\u4ed8\u304d\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u53c2\u7167\u3059\u308b\u30b1\u30fc\u30b9\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b9\u30a4\u30c3\u30c1\u30ed\u30fc\u30eb\u306b\u3064\u3044\u3066\u306f\u524d\u56de\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u8a73\u3057\u304f\u306f\u3053\u3061\u3089\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br><a href=\"https:\/\/baresupport.jp\/blog\/2022\/05\/12\/113\/\">IAM\u306e\u30b9\u30a4\u30c3\u30c1\u30ed\u30fc\u30eb\u3068\u306f\uff1f AWS\u30a2\u30ab\u30a6\u30f3\u30c8\u9593\u306e\u5207\u308a\u66ff\u3048\u3092\u697d\u306b\u3059\u308b\u8a2d\u5b9a\u65b9\u6cd5 | \u30d9\u30a2\u30b5\u30dd\u30fc\u30c8\u30d6\u30ed\u30b0<\/a><\/p>\n\n\n\n<p>\u5c1a\u3001\u672c\u8a18\u4e8b\u3067\u306f\u958b\u767a\u8a00\u8a9e\u3068\u3057\u3066 Python \u3092\u5229\u7528\u3057\u3001AWS SDK\u3068\u3057\u3066Boto3\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u540d\u524d\u4ed8\u304d\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u767b\u9332\u3059\u308b<\/h4>\n\n\n\n<p>Switch Role \u5148\u306e Role ARN \u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ cat ~\/.aws\/config\r\n\r\n&#91;default]\r\nregion = ap-northeast-1\r\noutput = json\r\n\r\n&#91;profile myaccount-dev]\r\nrole_arn = arn:aws:iam::{ACCOUNT_ID}:role\/{ROLE_NAME}\r\nsource_profile = default\r\nregion = ap-northeast-1\r\noutput = json\r<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u540d\u524d\u4ed8\u304dProfile \u3092\u5229\u7528\u3059\u308b<\/h4>\n\n\n\n<p>\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3078\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u540d\u524d\u4ed8\u304d\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3057\u3066\u3001Assume Role \u3067\u4e00\u6642\u7684\u306a\u8a8d\u8a3c\u60c5\u5831\uff08Credential\uff09\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import boto3\r\nfrom boto3.session import Session\r\n\r\nclass EC2:\r\n    def __new__(self) -> obj:\r\n        __profile = 'myaccount-dev'\r\n\r\n        __session = Session(profile_name=__profile)\r\n        __ddb_client = __session.client('dynamodb')\r\n\r\n        return __ddb_client\r<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%81%BE%E3%81%A8%E3%82%81\"><\/span>\u307e\u3068\u3081<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Assume Role\u3092\u5229\u7528\u3057\u3066\u30bb\u30ad\u30e5\u30a2\u306bAWS\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u5f97\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u958b\u767a\u74b0\u5883\u4e0b\u3067\u306e\u30b3\u30fc\u30c9\u3078\u306e\u5b9f\u88c5\u4f8b\u3082\u4ea4\u3048\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002Assume Role\u3092\u5229\u7528\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5b9f\u884c\u74b0\u5883\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u306fAmazon Web Service\u304c\u63a8\u5968\u3059\u308b\u65b9\u6cd5\u8ad6\u306e\u4e00\u3064\u3067\u3059\u306e\u3067\u3001\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u8a2d\u8a08\u306e\u969b\u306b\u8003\u616e\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u30d9\u30a2\u30b5\u30dd\u30fc\u30c8\u306f\u300120\u5e74\u4ee5\u4e0a\u306b\u308f\u305f\u308b\u30b5\u30fc\u30d0\u30fc\u904b\u7528\u5b9f\u7e3e\u3067\u57f9\u3063\u3066\u304d\u305f\u30ca\u30ec\u30c3\u30b8\u3092\u6b66\u5668\u306b\u3001\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u554f\u308f\u305a\u904b\u7528\u76e3\u8996\u30b5\u30fc\u30d3\u30b9\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u76e3\u8996\u904b\u7528\u306e\u4ee3\u884c\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u30a4\u30f3\u30d5\u30e9\u306e\u521d\u671f\u69cb\u7bc9\u3084\u76e3\u8996\u8a2d\u8a08\u30fb\u5c0e\u5165\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u5c0e\u5165\u30fb\u904b\u7528\u306a\u3069\u3082\u53ef\u80fd\u306a\u305f\u3081\u3001\u30a4\u30f3\u30d5\u30e9\u904b\u7528\u306b\u95a2\u3059\u308b\u3053\u3068\u306f\u4f55\u3067\u3082\u76f8\u8ac7\u53ef\u80fd\u3067\u3059\u3002 \u3082\u3057AWS\u306e\u8a2d\u8a08\u30fb\u69cb\u7bc9\u30fb\u904b\u7528\u306b\u8ab2\u984c\u3092\u304a\u6301\u3061\u3067\u3042\u308c\u3070\u3001\u30d9\u30a2\u30b5\u30dd\u30fc\u30c8\u307e\u3067\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<br><a href=\"https:\/\/baresupport.jp\/case\/\"><strong>\u30d9\u30a2\u30b5\u30dd\u30fc\u30c8\u5c0e\u5165\u4e8b\u4f8b\u306f\u3053\u3061\u3089<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Assume Role\u306f\u3001IAM\u30e6\u30fc\u30b6\u3092\u4f5c\u6210\u3057\u3066Credential\u3092\u767a\u884c\u3057\u306a\u304f\u3066\u3082\u3001\u4e00\u6642\u7684\u306bAWS\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u5f97\u308b\u4e8b\u304c\u53ef\u80fd\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002EC2\u306a\u3069\u306bIAM\u30ed\u30fc\u30eb\u3092\u30a2\u30b5\u30a4\u30f3\u3057\u305f\u969b\u306b\u3082\u5185\u90e8\u3067\u540c\u4e00\u306e\u51e6\u7406\u304c\u767a\u751f\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":146,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[18],"tags":[17],"class_list":["post-142","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-blog","tag-aws"],"aioseo_notices":[],"views":12464,"_links":{"self":[{"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":3,"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":393,"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/posts\/142\/revisions\/393"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/media\/146"}],"wp:attachment":[{"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/baresupport.jp\/blog\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}