<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://halfface.se/wiki/index.php?action=history&amp;feed=atom&amp;title=Aws</id>
	<title>Aws - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://halfface.se/wiki/index.php?action=history&amp;feed=atom&amp;title=Aws"/>
	<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Aws&amp;action=history"/>
	<updated>2026-04-19T07:27:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://halfface.se/wiki/index.php?title=Aws&amp;diff=16575&amp;oldid=prev</id>
		<title>Ekaanbj: /* what does it mean? */</title>
		<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Aws&amp;diff=16575&amp;oldid=prev"/>
		<updated>2026-03-12T15:00:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;what does it mean?&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:00, 12 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  iam                 Identity and Access Management&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  iam                 Identity and Access Management&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  imds                Instance Metadata Service.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  imds                Instance Metadata Service.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; irsa                IAM Roles for Service Accounts&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  kenesis             analyzing real-time streaming data&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  kenesis             analyzing real-time streaming data&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  kms                 key management Service&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  kms                 key management Service&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ekaanbj</name></author>
	</entry>
	<entry>
		<id>https://halfface.se/wiki/index.php?title=Aws&amp;diff=16485&amp;oldid=prev</id>
		<title>Ekaanbj: /* list organizations */</title>
		<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Aws&amp;diff=16485&amp;oldid=prev"/>
		<updated>2026-01-14T19:45:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;list organizations&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:45, 14 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l399&quot;&gt;Line 399:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 399:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==list organizations==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==list organizations==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws organizations list-accounts | jq -r &amp;#039;.Accounts[] | &amp;quot;\(.Name) \t \(.Email) \t \(.Id) \t \(.Status)&amp;quot;&amp;#039; | column_tab | sort&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws organizations list-accounts | jq -r &amp;#039;.Accounts[] | &amp;quot;\(.Name) \t \(.Email) \t \(.Id) \t \(.Status)&amp;quot;&amp;#039; | column_tab | sort&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=Which permissions does user have=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==aws sts get-caller-identity==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &quot;UserId&quot;: &quot;AROAWN2ZF2OSSO6EHQX42:andreas.bjorklund&quot;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &quot;Account&quot;: &quot;442031788965&quot;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &quot;Arn&quot;: &quot;arn:aws:sts::442031788965:assumed-role/aws-binero/andreas.bjorklund&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; }&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==aws iam list-role-policies --role-name aws-binero==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &quot;PolicyNames&quot;: []&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; }&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==aws iam list-attached-role-policies --role-name aws-binero==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &quot;AttachedPolicies&quot;: [&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       &quot;PolicyName&quot;: &quot;AdministratorAccess&quot;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       &quot;PolicyArn&quot;: &quot;arn:aws:iam::aws:policy/AdministratorAccess&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     }&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   ]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; }&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==aws iam get-policy-version --policy-arn arn:aws:iam::aws:policy/AdministratorAccess --version-id v1==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &quot;PolicyVersion&quot;: {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &quot;Document&quot;: {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       &quot;Version&quot;: &quot;2012-10-17&quot;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &quot;Statement&quot;: [&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;           {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;             &quot;Effect&quot;: &quot;Allow&quot;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;             &quot;Action&quot;: &quot;*&quot;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;             &quot;Resource&quot;: &quot;*&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;           }&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         ]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;       },&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &quot;VersionId&quot;: &quot;v1&quot;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &quot;IsDefaultVersion&quot;: true,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     &quot;CreateDate&quot;: &quot;2015-02-06T18:39:46+00:00&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   }&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; }&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ekaanbj</name></author>
	</entry>
	<entry>
		<id>https://halfface.se/wiki/index.php?title=Aws&amp;diff=16484&amp;oldid=prev</id>
		<title>Ekaanbj: /* delete public key */</title>
		<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Aws&amp;diff=16484&amp;oldid=prev"/>
		<updated>2026-01-14T09:16:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;delete public key&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:16, 14 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l396&quot;&gt;Line 396:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 396:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==delete public key==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==delete public key==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ec2 delete-key-pair --key-name &amp;lt;name&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ec2 delete-key-pair --key-name &amp;lt;name&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=organisations=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==list organizations==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; aws organizations list-accounts | jq -r &#039;.Accounts[] | &quot;\(.Name) \t \(.Email) \t \(.Id) \t \(.Status)&quot;&#039; | column_tab | sort&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ekaanbj</name></author>
	</entry>
	<entry>
		<id>https://halfface.se/wiki/index.php?title=Aws&amp;diff=16481&amp;oldid=prev</id>
		<title>Ekaanbj: /* ssm/parameters */</title>
		<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Aws&amp;diff=16481&amp;oldid=prev"/>
		<updated>2026-01-13T14:55:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;ssm/parameters&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:55, 13 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l368&quot;&gt;Line 368:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 368:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Get parameters recursive&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Get parameters recursive&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ssm get-parameters-by-path --recursive --region eu-west-1 --path /&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ssm get-parameters-by-path --recursive --region eu-west-1 --path /&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Get latest Amazon Linux &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Get latest Amazon Linux &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2023&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ssm get-parameters --names /aws/service/ami-amazon-linux-latest/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;amzn2&lt;/del&gt;-ami-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hvm&lt;/del&gt;-x86_64&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-gp2 &lt;/del&gt;--query &#039;Parameters[0].Value&#039; --output text&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ssm get-parameters --names /aws/service/ami-amazon-linux-latest/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;al2023&lt;/ins&gt;-ami-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;kernel-default&lt;/ins&gt;-x86_64 --query &#039;Parameters[0].Value&#039; --output text&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=list ecr repositories=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=list ecr repositories=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ekaanbj</name></author>
	</entry>
	<entry>
		<id>https://halfface.se/wiki/index.php?title=Aws&amp;diff=16480&amp;oldid=prev</id>
		<title>Ekaanbj: /* ssm/parameters */</title>
		<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Aws&amp;diff=16480&amp;oldid=prev"/>
		<updated>2026-01-13T14:52:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;ssm/parameters&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:52, 13 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l368&quot;&gt;Line 368:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 368:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Get parameters recursive&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Get parameters recursive&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ssm get-parameters-by-path --recursive --region eu-west-1 --path /&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ssm get-parameters-by-path --recursive --region eu-west-1 --path /&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Get latest Amazon Linux 2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; aws ssm get-parameters --names /aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2 --query &#039;Parameters[0].Value&#039; --output text&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=list ecr repositories=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=list ecr repositories=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ecr describe-repositories&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ecr describe-repositories&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ekaanbj</name></author>
	</entry>
	<entry>
		<id>https://halfface.se/wiki/index.php?title=Aws&amp;diff=16479&amp;oldid=prev</id>
		<title>Ekaanbj: /* Upload public ssh key */</title>
		<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Aws&amp;diff=16479&amp;oldid=prev"/>
		<updated>2026-01-13T14:46:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Upload public ssh key&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:46, 13 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l389&quot;&gt;Line 389:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 389:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Upload public ssh key==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Upload public ssh key==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ec2 import-key-pair --key-name &amp;lt;name&amp;gt; --public-key-material fileb://~/.ssh/id_ed25519.pub&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws ec2 import-key-pair --key-name &amp;lt;name&amp;gt; --public-key-material fileb://~/.ssh/id_ed25519.pub&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==list keypairs==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; aws ec2 describe-key-pairs&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==delete public key==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; aws ec2 delete-key-pair --key-name &amp;lt;name&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ekaanbj</name></author>
	</entry>
	<entry>
		<id>https://halfface.se/wiki/index.php?title=Aws&amp;diff=16478&amp;oldid=prev</id>
		<title>Ekaanbj: /* get info about saml provider */</title>
		<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Aws&amp;diff=16478&amp;oldid=prev"/>
		<updated>2026-01-13T14:40:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;get info about saml provider&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:40, 13 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l386&quot;&gt;Line 386:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 386:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=get info about saml provider=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=get info about saml provider=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws iam get-saml-provider --saml-provider-arn &amp;lt;arn&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  aws iam get-saml-provider --saml-provider-arn &amp;lt;arn&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=ssh=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Upload public ssh key==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; aws ec2 import-key-pair --key-name &amp;lt;name&amp;gt; --public-key-material fileb://~/.ssh/id_ed25519.pub&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ekaanbj</name></author>
	</entry>
	<entry>
		<id>https://halfface.se/wiki/index.php?title=Aws&amp;diff=16415&amp;oldid=prev</id>
		<title>Ekaanbj: /* access policies */</title>
		<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Aws&amp;diff=16415&amp;oldid=prev"/>
		<updated>2025-12-04T15:33:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;access policies&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=what does it mean?=&lt;br /&gt;
 alb                 Application Load Balancer&lt;br /&gt;
 acm                 AWS Certificate Manager&lt;br /&gt;
 asg                 Auto Scaling Group&lt;br /&gt;
 CloudFormation      Iac Infrastructure as code&lt;br /&gt;
 cloudfront          cdn Content Delivery Network&lt;br /&gt;
 cloudwatch          monitoring and management service that provides data and actionable insights.&lt;br /&gt;
 cwagent             cloud watch agent.&lt;br /&gt;
 DynamoDB            NoSQL database&lt;br /&gt;
 ebs                 elastic block storage&lt;br /&gt;
 ecr                 Elastic Container Registry&lt;br /&gt;
 ecs                 Elastic Container Service.&lt;br /&gt;
 efs                 Elastic File System&lt;br /&gt;
 eks                 Elastic Kubernetes Service&lt;br /&gt;
 elb                 Elastic Load Balancing&lt;br /&gt;
 eni                 Elastic Network Interface, is a virtual nic that can be attached to an EC2 instance within a vpc.&lt;br /&gt;
 fargate             Fargate is a serverless compute service that can run containers on ECS or EKS.&lt;br /&gt;
 iam                 Identity and Access Management&lt;br /&gt;
 imds                Instance Metadata Service.&lt;br /&gt;
 kenesis             analyzing real-time streaming data&lt;br /&gt;
 kms                 key management Service&lt;br /&gt;
 lambda              is an event-driven, serverless computing platform provided&lt;br /&gt;
 lbc                 Load Balancer Controller&lt;br /&gt;
 nlb                 Network Load Balancer&lt;br /&gt;
 peering connection  Networking connection established between two VPC.&lt;br /&gt;
 sg                  Security group&lt;br /&gt;
 sid                 &amp;quot;statement ID&amp;quot; as an optional identifier for the policy statement. Must be uniq in the json statement.&lt;br /&gt;
 sns                 Simple Notification Service. message bus.&lt;br /&gt;
 sqs                 Simple Queue Service&lt;br /&gt;
 ssm                 &amp;quot;Amazon Simple Systems Manager&amp;quot; &amp;quot;Amazon EC2 Systems Manager&amp;quot; Now known as AWS Systems Manager&lt;br /&gt;
 ssm agent           Systems Manager Agent runs on EC2 makes it possible for Systems Manager to manage,resources.&lt;br /&gt;
 sts                 Security Token Service&lt;br /&gt;
 transit gateway     service that simplifies and centralises the management of connectivity between multiple VPCs, VPN connections, and on-premises networks.&lt;br /&gt;
 waf                 web application firewall&lt;br /&gt;
 vpc                 Virtual Private Cloud&lt;br /&gt;
 vgw                 Virtual Private Gateway. VPN endpoint on the AWS side of a Site-to-Site VPN connection.&lt;br /&gt;
&lt;br /&gt;
=documentation=&lt;br /&gt;
 https://awscli.amazonaws.com/v2/documentation/api/latest/reference/index.html&lt;br /&gt;
=aws completion=&lt;br /&gt;
 complete -C &amp;#039;/usr/bin/aws_completer&amp;#039; aws&lt;br /&gt;
&lt;br /&gt;
=version=&lt;br /&gt;
 aws --version&lt;br /&gt;
=configure aws=&lt;br /&gt;
 aws help config-vars&lt;br /&gt;
&lt;br /&gt;
=whoami=&lt;br /&gt;
 aws sts get-caller-identity&lt;br /&gt;
=which groups do I belong to=&lt;br /&gt;
 aws iam list-groups&lt;br /&gt;
=list databases=&lt;br /&gt;
 aws rds describe-db-instances&lt;br /&gt;
=List databases short version=&lt;br /&gt;
 aws rds describe-db-instances --region=eu-west-1 --query &amp;#039;DBInstances[*].[DBInstanceArn,Engine,DBInstanceIdentifier]&amp;#039;&lt;br /&gt;
 aws rds describe-db-instances | jq -r &amp;#039;.DBInstances[]| [.DBInstanceIdentifier, .DBInstanceClass, .Engine, (.Endpoint|.Address, .Port)]|@tsv&amp;#039; | column -t -s $&amp;#039;\t&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=List databases in all regions=&lt;br /&gt;
 aws account list-regions | jq -r &amp;#039;.Regions[]| select(.&amp;quot;RegionOptStatus&amp;quot; == &amp;quot;ENABLED_BY_DEFAULT&amp;quot;)|.RegionName&amp;#039; | while read REGION ; do echo &amp;#039;*&amp;#039; ${REGION} ; aws rds describe-db-instances --region=${REGION} | jq -r  &amp;#039;.DBInstances[]| .DBInstanceIdentifier +&amp;quot;\t&amp;quot;+ .DBInstanceClass +&amp;quot;\t&amp;quot;+ .Engine +&amp;quot;\t&amp;quot;+ .DBName&amp;#039; | column -t -s $&amp;#039;\t&amp;#039; ; done&lt;br /&gt;
&lt;br /&gt;
=list events=&lt;br /&gt;
 export DB=&amp;lt;database&amp;gt; ; aws rds describe-events --duration 10080 --region=eu-west-1 --source-identifier ${DB} --source-type db-instance&lt;br /&gt;
&lt;br /&gt;
=list logfiles=&lt;br /&gt;
 aws rds describe-db-log-files --region=eu-west-1 --db-instance-identifier admin&lt;br /&gt;
=view logfiles=&lt;br /&gt;
 aws rds download-db-log-file-portion --region=eu-west-1 --db-instance-identifier admin --log-file-name error/mysql-error-running.log.2022-05-05.14 --output text&lt;br /&gt;
=List files in s3=&lt;br /&gt;
 aws s3 ls&lt;br /&gt;
=Create bucket=&lt;br /&gt;
 aws --endpoint-url http://localhost:9000 s3 mb s3://minsio&lt;br /&gt;
 make_bucket: minsio&lt;br /&gt;
=Push files to bucket.=&lt;br /&gt;
 aws --endpoint-url http://localhost:9000 s3 sync . s3://minsio&lt;br /&gt;
=remove files from s3 bucket=&lt;br /&gt;
 aws s3 rm s3://&amp;lt;bucket&amp;gt; --recursive --exclude &amp;#039;*&amp;#039; --include &amp;#039;&amp;lt;path&amp;gt;-*.gz&amp;#039;&lt;br /&gt;
=Do files expire=&lt;br /&gt;
 aws s3api get-bucket-lifecycle-configuration --bucket &amp;lt;bucket&amp;gt;&lt;br /&gt;
=undelete revision controlled files=&lt;br /&gt;
Possible file that you are searching for&lt;br /&gt;
 aws s3 ls s3://$(awk  &amp;#039;/bucket/ {print $3}&amp;#039; tf-state-backend.tf | sed &amp;#039;s/&amp;quot;//g&amp;#039;)/$(awk &amp;#039;/key/ {print $3}&amp;#039; tf-state-backend.tf | sed &amp;#039;s/&amp;quot;//g&amp;#039;)&lt;br /&gt;
Recover expired file&lt;br /&gt;
 export BUCKET=$(awk  &amp;#039;/bucket/ {print $3}&amp;#039; tf-state-backend.tf | sed &amp;#039;s/&amp;quot;//g&amp;#039;)&lt;br /&gt;
 export PREFIX=$(awk &amp;#039;/key/ {print $3}&amp;#039; tf-state-backend.tf | sed &amp;#039;s/&amp;quot;//g&amp;#039;)&lt;br /&gt;
 aws s3api list-object-versions --bucket &amp;quot;${BUCKET}&amp;quot; --prefix &amp;quot;${PREFIX}&amp;quot; --output json --query &amp;#039;DeleteMarkers[?IsLatest==`true`].VersionId&amp;#039; | jq &amp;#039;.[]&amp;#039; -r | xargs echo aws s3api delete-object --bucket &amp;quot;${BUCKET}&amp;quot; --key &amp;quot;${PREFIX}&amp;quot; --version-id&lt;br /&gt;
&lt;br /&gt;
=save policy of s3 bucket=&lt;br /&gt;
 aws s3api get-bucket-policy --bucket &amp;lt;bucket&amp;gt; | jq &amp;#039;.Policy | fromjson&amp;#039;&lt;br /&gt;
=Copy s3 files to local path=&lt;br /&gt;
 aws s3 cp s3://abjorklund-kafka-external-bootstrap-lb-logs/AWSLogs/203144576027/vpcflowlogs/eu-north-1/2025/09/02/17/203144576027_vpcflowlogs_eu-north-1_fl-0d84f7269ca36d677_20250902T1700Z_d63c36ab.log.gz /temp/&lt;br /&gt;
=delete s3 bucket=&lt;br /&gt;
 aws s3 rb s3://abjorklund-kafka-external-bootstrap-lb-logs --force&lt;br /&gt;
&lt;br /&gt;
=eks=&lt;br /&gt;
==eksctl install==&lt;br /&gt;
 curl --silent --location &amp;quot;https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz&amp;quot; | sudo tar xz -C /usr/local/bin&lt;br /&gt;
&lt;br /&gt;
==configure for kubectl==&lt;br /&gt;
 aws eks update-kubeconfig --name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot;&lt;br /&gt;
 aws eks update-kubeconfig --name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --role-arn arn:aws:iam::&amp;lt;arn&amp;gt;:&amp;lt;arn&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==list eks clusters==&lt;br /&gt;
 eksctl get clusters&lt;br /&gt;
 aws eks list-clusters&lt;br /&gt;
==Version of eks==&lt;br /&gt;
 aws eks describe-cluster --name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --query &amp;quot;cluster.version&amp;quot; --output text&lt;br /&gt;
&lt;br /&gt;
==Update eks==&lt;br /&gt;
 eksctl upgrade cluster --name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --version &amp;lt;new-version&amp;gt; --approve&lt;br /&gt;
 aws eks update-cluster-version --name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --kubernetes-version &amp;lt;new-version&amp;gt;&lt;br /&gt;
Follow upgrade&lt;br /&gt;
 aws eks describe-update --name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --update-id &amp;lt;update-id&amp;gt;&lt;br /&gt;
==View update status==&lt;br /&gt;
 aws eks describe-cluster --name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot;&lt;br /&gt;
 kubectl get events -n kube-system --sort-by=&amp;#039;.metadata.creationTimestamp&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Update eks nodegroup==&lt;br /&gt;
Confirm that there is only one nodegroup.&lt;br /&gt;
 eksctl get nodegroup --cluster &amp;quot;${AWS_EKS_CLUSTER}&amp;quot;&lt;br /&gt;
If there is only one nodegroup then you can set:&lt;br /&gt;
 AWS_EKS_NODEGROUP=$(aws eks list-nodegroups --cluster-name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --query &amp;#039;nodegroups[0]&amp;#039; --output text)&lt;br /&gt;
 eksctl upgrade nodegroup --name=&amp;quot;${AWS_EKS_NODEGROUP}&amp;quot; --cluster &amp;quot;${AWS_EKS_CLUSTER}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==View status==&lt;br /&gt;
 aws eks describe-nodegroup --cluster-name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --nodegroup-name &amp;quot;${AWS_EKS_NODEGROUP}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==list addons and version number==&lt;br /&gt;
 aws eks list-addons --cluster-name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; | jq -r &amp;#039;.addons[]&amp;#039; | while read AWS_EKS_ADDON ; do echo &amp;quot;${AWS_EKS_ADDON}&amp;quot; $(aws eks describe-addon --cluster-name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --addon-name &amp;quot;${AWS_EKS_ADDON}&amp;quot; --query &amp;#039;addon.addonVersion&amp;#039; | jq -r .) ; done&lt;br /&gt;
==List addons==&lt;br /&gt;
 aws eks list-addons --cluster-name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Look for versions of addons==&lt;br /&gt;
 aws eks describe-addon-versions --addon-name kube-proxy&lt;br /&gt;
==Update eks add-on==&lt;br /&gt;
 aws eks update-addon --cluster-name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --addon-name &amp;lt;addon-name&amp;gt; --addon-version &amp;lt;version&amp;gt; --resolve-conflicts OVERWRITE&lt;br /&gt;
==list available supported add-on==&lt;br /&gt;
 export AWS_EKS_CLUSTER=$(aws eks list-clusters --query &amp;#039;clusters[0]&amp;#039; --output text)&lt;br /&gt;
 export AWS_EKS_VERSION=$(aws eks describe-cluster --name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --query &amp;quot;cluster.version&amp;quot; --output text)&lt;br /&gt;
 aws eks list-addons --cluster-name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; | jq -r &amp;#039;.addons[]&amp;#039; | while read AWS_EKS_ADDON ; do echo &amp;#039;*&amp;#039; &amp;quot;${AWS_EKS_ADDON}&amp;quot; ; aws eks describe-addon-versions --addon-name &amp;quot;${AWS_EKS_ADDON}&amp;quot; --kubernetes-version &amp;quot;${AWS_EKS_VERSION}&amp;quot; | jq -r &amp;#039;.addons[].addonVersions[]|[.addonVersion, .compatibilities[].defaultVersion]|@tsv&amp;#039; ; done&lt;br /&gt;
&lt;br /&gt;
==aws eks access can work i two modes. configmap or api==&lt;br /&gt;
  aws eks describe-cluster --name $AWS_EKS_CLUSTER --query &amp;#039;cluster.accessConfig&amp;#039;&lt;br /&gt;
    &amp;quot;authenticationMode&amp;quot;: &amp;quot;API_AND_CONFIG_MAP&amp;quot;&lt;br /&gt;
==list users in all eks clusters==&lt;br /&gt;
 aws eks list-clusters | jq -r &amp;#039;.clusters[]&amp;#039; | while read EKS ; do echo &amp;#039;*&amp;#039; Eks cluster $EKS ; eksctl get iamidentitymapping --cluster $EKS ; done&lt;br /&gt;
&lt;br /&gt;
==grant access to eks cluster(configmap)==&lt;br /&gt;
 eksctl create iamidentitymapping --cluster &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --arn arn:aws:iam::442031788965:role/Administrator --group system:masters --username eks-admin&lt;br /&gt;
&lt;br /&gt;
==who has access to cluster configmap==&lt;br /&gt;
 oc get configmap aws-auth -n kube-system -o yaml&lt;br /&gt;
==Grant access to above==&lt;br /&gt;
Using eksctl&lt;br /&gt;
 eksctl create iamidentitymapping --cluster &amp;quot;${AWS_EKS_CLUSTER}&amp;quot; --arn arn:aws:iam::442031788965:role/&amp;lt;role&amp;gt; --group system:masters --username eks-admin&lt;br /&gt;
Using kubectl&lt;br /&gt;
 oc edit configmap aws-auth -n kube-system -o yaml&lt;br /&gt;
&lt;br /&gt;
==Who has access api mode==&lt;br /&gt;
 aws eks list-access-entries --cluster-name &amp;quot;${AWS_EKS_CLUSTER}&amp;quot;&lt;br /&gt;
===Add permissions to cluster from above===&lt;br /&gt;
 aws eks create-access-entry --cluster-name $AWS_EKS_CLUSTER --principal-arn arn:aws:iam::442031788965:role/Administrator&lt;br /&gt;
===Add principal arn===&lt;br /&gt;
 aws eks associate-access-policy --cluster-name $AWS_EKS_CLUSTER --principal-arn arn:aws:iam::442031788965:role/&amp;lt;role&amp;gt; --policy-arn arn:aws:eks::aws:cluster-access-policy/AmazonEKSClusterAdminPolicy --access-scope type=cluster&lt;br /&gt;
&lt;br /&gt;
==access policies==&lt;br /&gt;
 aws eks list-associated-access-policies     --cluster-name $AWS_EKS_CLUSTER     --principal-arn arn:aws:iam::442031788965:role/&amp;lt;role&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==list logs of aws-load-balancer-controller(loadbalancer)==&lt;br /&gt;
 oc logs --tail=-1 -n kube-system $(oc get leases -n kube-system aws-load-balancer-controller-leader -o custom-columns=HOLDER:.spec.holderIdentity --no-headers | awk -F_ &amp;#039;{print $1}&amp;#039;)&lt;br /&gt;
List corresponding pods&lt;br /&gt;
 oc get pods -n kube-system -l app.kubernetes.io/name=aws-load-balancer-controller&lt;br /&gt;
&lt;br /&gt;
==Manifest for creating an deployment that creates an nginx server and creating a service that provides a loadbalancer==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
oc apply -f - &amp;lt;&amp;lt; &amp;#039;EOF&amp;#039;&lt;br /&gt;
apiVersion: v1&lt;br /&gt;
kind: Namespace&lt;br /&gt;
metadata:&lt;br /&gt;
  name: nginx&lt;br /&gt;
---&lt;br /&gt;
apiVersion: apps/v1&lt;br /&gt;
kind: Deployment&lt;br /&gt;
metadata:&lt;br /&gt;
  name: nginx-deployment&lt;br /&gt;
  namespace: nginx&lt;br /&gt;
  labels:&lt;br /&gt;
    app: nginx&lt;br /&gt;
spec:&lt;br /&gt;
  replicas: 2&lt;br /&gt;
  selector:&lt;br /&gt;
    matchLabels:&lt;br /&gt;
      app: nginx&lt;br /&gt;
  template:&lt;br /&gt;
    metadata:&lt;br /&gt;
      labels:&lt;br /&gt;
        app: nginx&lt;br /&gt;
    spec:&lt;br /&gt;
      containers:&lt;br /&gt;
      - name: nginx&lt;br /&gt;
        image: nginx:latest&lt;br /&gt;
        ports:&lt;br /&gt;
        - containerPort: 80&lt;br /&gt;
        volumeMounts:&lt;br /&gt;
        - name: nginx-html&lt;br /&gt;
          mountPath: /usr/share/nginx/html&lt;br /&gt;
      volumes:&lt;br /&gt;
      - name: nginx-html&lt;br /&gt;
        configMap:&lt;br /&gt;
          name: nginx-html&lt;br /&gt;
          items:&lt;br /&gt;
          - key: index.html&lt;br /&gt;
            path: index.html&lt;br /&gt;
---&lt;br /&gt;
apiVersion: v1&lt;br /&gt;
kind: ConfigMap&lt;br /&gt;
metadata:&lt;br /&gt;
  name: nginx-html&lt;br /&gt;
  namespace: nginx&lt;br /&gt;
data:&lt;br /&gt;
  index.html: |&lt;br /&gt;
    &amp;lt;!DOCTYPE html&amp;gt;&lt;br /&gt;
    &amp;lt;body&amp;gt;&lt;br /&gt;
      &amp;lt;h1&amp;gt;Hello, World!&amp;lt;/h1&amp;gt;&lt;br /&gt;
    &amp;lt;/body&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
apiVersion: v1&lt;br /&gt;
kind: Service&lt;br /&gt;
metadata:&lt;br /&gt;
  name: nginx-service&lt;br /&gt;
  namespace: nginx&lt;br /&gt;
  annotations:&lt;br /&gt;
    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http&lt;br /&gt;
    service.beta.kubernetes.io/aws-load-balancer-internal: &amp;quot;true&amp;quot;&lt;br /&gt;
    service.beta.kubernetes.io/aws-load-balancer-ip-address-type: ipv4&lt;br /&gt;
    service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip&lt;br /&gt;
    service.beta.kubernetes.io/aws-load-balancer-scheme: internal&lt;br /&gt;
    service.beta.kubernetes.io/aws-load-balancer-type: external&lt;br /&gt;
spec:&lt;br /&gt;
  selector:&lt;br /&gt;
    app: nginx&lt;br /&gt;
  ports:&lt;br /&gt;
  - name: http&lt;br /&gt;
    port: 80&lt;br /&gt;
    targetPort: 80&lt;br /&gt;
    protocol: TCP&lt;br /&gt;
  type: LoadBalancer&lt;br /&gt;
  loadBalancerClass: service.k8s.aws/nlb&lt;br /&gt;
  externalTrafficPolicy: Cluster&lt;br /&gt;
  ipFamilyPolicy: SingleStack&lt;br /&gt;
  ipFamilies:&lt;br /&gt;
  - IPv4&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=list roles=&lt;br /&gt;
 aws iam list-roles | jq -r &amp;#039;.Roles[].RoleName&amp;#039;&lt;br /&gt;
=List roles with specific attribute=&lt;br /&gt;
 aws iam list-roles --query &amp;quot;Roles[?RoleName==&amp;#039;Administrator&amp;#039;]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=assume role=&lt;br /&gt;
 aws sts assume-role --role-arn arn:aws:iam::288898264342:role/eks-cluster-role-kafka-prod-cluster --role-session-name eks-cluster-role-kafka-prod-cluster&lt;br /&gt;
=save assume role policy=&lt;br /&gt;
 aws iam list-roles --query &amp;quot;Roles[?RoleName==&amp;#039;Administrator&amp;#039;]&amp;quot; | jq &amp;#039;.[].AssumeRolePolicyDocument&amp;#039; &amp;gt; /temp/aws_iam_list-roles.$(date_file).json&lt;br /&gt;
=grant access to assume role=&lt;br /&gt;
 aws iam update-assume-role-policy --role-name Administrator --policy-document file:///&amp;lt;full_path_to_file&amp;gt;.json&lt;br /&gt;
 {&lt;br /&gt;
     &amp;quot;Version&amp;quot;: &amp;quot;2012-10-17&amp;quot;,&lt;br /&gt;
     &amp;quot;Statement&amp;quot;: {&lt;br /&gt;
         &amp;quot;Effect&amp;quot;: &amp;quot;Allow&amp;quot;,&lt;br /&gt;
         &amp;quot;Principal&amp;quot;: {&amp;quot;AWS&amp;quot;: [&lt;br /&gt;
             &amp;quot;arn:aws:iam::442031788965:root&amp;quot;,&lt;br /&gt;
             &amp;quot;arn:aws:sts::203144576027:assumed-role/rb-sso/abjorklund&amp;quot;&lt;br /&gt;
         ]},&lt;br /&gt;
         &amp;quot;Action&amp;quot;: &amp;quot;sts:AssumeRole&amp;quot;&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
=list users=&lt;br /&gt;
 aws iam list-users | jq -r &amp;#039;.Users[].UserName&amp;#039;&lt;br /&gt;
=list all users and their accesstokens=&lt;br /&gt;
 for user in $(aws iam list-users --query &amp;#039;Users[*].UserName&amp;#039; --output text); do&lt;br /&gt;
   echo &amp;quot;User: $user&amp;quot;&lt;br /&gt;
   aws iam list-access-keys --user-name &amp;quot;$user&amp;quot; --query &amp;#039;AccessKeyMetadata[*].AccessKeyId&amp;#039; --output text&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
=get info about certain user=&lt;br /&gt;
 aws iam get-user --user-name abjorklund&lt;br /&gt;
=list ec2 instances=&lt;br /&gt;
 aws ec2 describe-instances | jq -r &amp;#039;.Reservations[].Instances[] | [.PrivateIpAddress, .InstanceType, .KeyName, .PublicIpAddress, (.Tags[] | .Key, .Value)] | join(&amp;quot;\t&amp;quot;)&amp;#039; | column_tab | less&lt;br /&gt;
Filter running instances.&lt;br /&gt;
 aws ec2 describe-instances --filters &amp;quot;Name=instance-state-name,Values=running&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=list vpcs=&lt;br /&gt;
 aws ec2 describe-vpcs $@ | jq -r &amp;#039;.Vpcs[] | [.CidrBlock, .VpcId, (.Tags[]?|join(&amp;quot;:&amp;quot;))] | @tsv&amp;#039;&lt;br /&gt;
=vpc peering=&lt;br /&gt;
List connections between vpc:s&lt;br /&gt;
 aws ec2 describe-vpc-peering-connections | jq -r &amp;#039;.VpcPeeringConnections[] | .AccepterVpcInfo.CidrBlock +&amp;quot; &amp;quot;+ .AccepterVpcInfo.VpcId +&amp;quot; &amp;quot;+ .AccepterVpcInfo.Region +&amp;quot; &amp;quot;+ .RequesterVpcInfo.CidrBlock +&amp;quot; &amp;quot;+ .RequesterVpcInfo.VpcId +&amp;quot; &amp;quot;+ (.Tags[] | select(.Key==&amp;quot;Name&amp;quot;).Value)&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=list securitygroups=&lt;br /&gt;
 aws ec2 describe-security-groups | jq -r .SecurityGroups[].GroupName&lt;br /&gt;
 aws ec2 describe-security-groups | jq -r &amp;#039;.SecurityGroups[]|{GroupName: .GroupName,VpcId: .VpcId, Description: .Description, IpPermissions:.IpPermissions[],IpPermissionsEgress:.IpPermissionsEgress[]}, (.Tags[]?|join(&amp;quot;:&amp;quot;))&amp;#039;&lt;br /&gt;
=Show info about securitygroup=&lt;br /&gt;
 aws ec2 describe-security-groups --group-ids sg-03b884a9f0fbc58c1 --query &amp;#039;SecurityGroups[0].{ID:GroupId,Rules:IpPermissions,RulesOut:IpPermissionsEgress}&amp;#039; --output yaml&lt;br /&gt;
&lt;br /&gt;
=list accounts=&lt;br /&gt;
 aws organizations list-accounts --query &amp;#039;Accounts[*].[Name, Id]&amp;#039; --output table&lt;br /&gt;
List info about Account.&lt;br /&gt;
 aws organizations list-accounts | jq &amp;#039;.Accounts[]|select(.Id==&amp;quot;974752708905&amp;quot;)&amp;#039;&lt;br /&gt;
=vip/irule=&lt;br /&gt;
 cloudfront -&amp;gt; distribution -&amp;gt; behaviour&lt;br /&gt;
=origin=&lt;br /&gt;
 Where to shoot request.&lt;br /&gt;
=list load balancers=&lt;br /&gt;
 aws elbv2 describe-load-balancers | jq -r &amp;#039;.LoadBalancers[].LoadBalancerName&amp;#039;&lt;br /&gt;
=try to access listeners=&lt;br /&gt;
 aws elbv2 describe-load-balancers | jq -r &amp;#039;.LoadBalancers[] | .DNSName +&amp;quot; &amp;quot;+ .VpcId +&amp;quot; &amp;quot;+ .LoadBalancerArn&amp;#039; | while read DNSName VpcId LoadBalancerArn ; do PORTS=$(aws elbv2 describe-listeners --load-balancer-arn $LoadBalancerArn | jq -r &amp;#039;.Listeners[]?|.Port&amp;#039;) ; for Port in $PORTS ; do echo $DNSName $VpcId $(nc -w1 -zv $DNSName $Port 2&amp;gt;&amp;amp;1 ) ; done ; done&lt;br /&gt;
&lt;br /&gt;
=route53=&lt;br /&gt;
==List names of hosted zones.==&lt;br /&gt;
 aws route53 list-hosted-zones-by-name | jq -r &amp;#039;.HostedZones[]|.Id +&amp;quot;\t&amp;quot;+ .Name| sub(&amp;quot;/hostedzone/&amp;quot;; &amp;quot;&amp;quot;)&amp;#039; | column_tab&lt;br /&gt;
&lt;br /&gt;
==List info about record==&lt;br /&gt;
 aws route53 list-resource-record-sets --hosted-zone-id &amp;lt;hostedzone&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Update cname==&lt;br /&gt;
 aws route53 change-resource-record-sets --hosted-zone-id &amp;lt;hostedzone&amp;gt; \&lt;br /&gt;
   --change-batch &amp;#039;{&amp;quot;Changes&amp;quot;:[{&amp;quot;Action&amp;quot;:&amp;quot;UPSERT&amp;quot;,&amp;quot;ResourceRecordSet&amp;quot;:{&amp;quot;Name&amp;quot;:&amp;quot;akhq.inter.net.&amp;quot;,&amp;quot;Type&amp;quot;:&amp;quot;CNAME&amp;quot;,&amp;quot;TTL&amp;quot;:300,&amp;quot;ResourceRecords&amp;quot;:[{&amp;quot;Value&amp;quot;:&amp;quot;internal-k8s-kafka-akhq-30d3a6b6ec-1805732719.eu-north-1.elb.amazonaws.com.&amp;quot;}]}}]}&amp;#039;&lt;br /&gt;
==Create a zone==&lt;br /&gt;
 aws route53 create-hosted-zone --name inter.net --caller-reference $(date_file) --comment &amp;lt;comment&amp;gt;&lt;br /&gt;
==Add record to zone==&lt;br /&gt;
 aws route53 change-resource-record-sets --hosted-zone-id &amp;lt;hostedzone&amp;gt; --change-batch &amp;#039;{&amp;quot;Changes&amp;quot;:[{&amp;quot;Action&amp;quot;:&amp;quot;CREATE&amp;quot;,&amp;quot;ResourceRecordSet&amp;quot;:{&amp;quot;Name&amp;quot;:&amp;quot;in.ter.net.&amp;quot;,&amp;quot;Type&amp;quot;:&amp;quot;A&amp;quot;,&amp;quot;TTL&amp;quot;:300,&amp;quot;ResourceRecords&amp;quot;:[{&amp;quot;Value&amp;quot;:&amp;quot;1.1.1.1&amp;quot;}]}}]}&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=subnets=&lt;br /&gt;
List subnets&lt;br /&gt;
 aws ec2 describe-subnets | jq -r &amp;#039;.Subnets[] | [.SubnetId, .CidrBlock, .VpcId, (.Tags[]?|join(&amp;quot;:&amp;quot;))] | @tsv&amp;#039; | column -t -s $&amp;#039;\t&amp;#039; | less -ISRM&lt;br /&gt;
=direct connect=&lt;br /&gt;
List direct connect links&lt;br /&gt;
 aws directconnect describe-connections&lt;br /&gt;
&lt;br /&gt;
=ipsec vpn=&lt;br /&gt;
 aws ec2 describe-vpn-connections | jq -r &amp;#039;.VpnConnections[] | .VpnConnectionId +&amp;quot; &amp;quot;+ (.Tags[] | select(.Key==&amp;quot;Name&amp;quot;).Value)&amp;#039;&lt;br /&gt;
=list vpc endpoints interface/gateway=&lt;br /&gt;
 aws ec2 describe-vpc-endpoints | jq -r &amp;#039;.VpcEndpoints[] | .VpcEndpointId +&amp;quot; &amp;quot;+ .VpcEndpointType +&amp;quot; &amp;quot;+ .VpcId +&amp;quot; &amp;quot;+ (.Tags[]? | select(.Key==&amp;quot;Name&amp;quot;).Value)&amp;#039;&lt;br /&gt;
=imds=&lt;br /&gt;
Instance Metadata Service&lt;br /&gt;
 TOKEN=`curl -s -X PUT &amp;quot;http://169.254.169.254/latest/api/token&amp;quot; -H &amp;quot;X-aws-ec2-metadata-token-ttl-seconds: 21600&amp;quot;` &amp;amp;&amp;amp; curl -s -H &amp;quot;X-aws-ec2-metadata-token: $TOKEN&amp;quot; http://169.254.169.254/latest/meta-data/&lt;br /&gt;
=List ecs services=&lt;br /&gt;
 # List cms services. Count the tasks.&lt;br /&gt;
 aws ecs list-clusters&lt;br /&gt;
 aws ecs describe-clusters --clusters &amp;lt;cluster&amp;gt;&lt;br /&gt;
 aws ecs list-services --cluster &amp;lt;cluster&amp;gt;&lt;br /&gt;
 aws ecs describe-services --cluster &amp;lt;cluster&amp;gt; --services &amp;lt;service&amp;gt; | jq &amp;#039;.services[].desiredCount&amp;#039;&lt;br /&gt;
=cloud trail=&lt;br /&gt;
 aws cloudtrail describe-trails&lt;br /&gt;
=cloudwatch=&lt;br /&gt;
 # View metrics on aws in namespace.&lt;br /&gt;
 aws cloudwatch list-metrics --namespace=ContainerInsights/Prometheus&lt;br /&gt;
 # List alarms&lt;br /&gt;
 aws cloudwatch describe-alarms&lt;br /&gt;
 aws cloudwatch describe-alarms | jq -r &amp;#039;.MetricAlarms[]| [.AlarmName, .MetricName, .Namespace, .AlarmDescription]|@tsv&amp;#039; |column_tab | less&lt;br /&gt;
 aws cloudwatch describe-alarms | jq -r &amp;#039;.MetricAlarms[]| [.AlarmName, .MetricName, .EvaluationPeriods, .DatapointsToAlarm, .AlarmDescription]|@tsv&amp;#039; | column -t -s $&amp;#039;\t&amp;#039; | less&lt;br /&gt;
 # Get alarm history&lt;br /&gt;
 aws cloudwatch describe-alarm-history --alarm-name &amp;lt;ALARM_NAME&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=ssm/parameters=&lt;br /&gt;
Get parameter&lt;br /&gt;
 aws ssm get-parameters --with-decryption --region eu-west-1 --name /&amp;lt;name&amp;gt;&lt;br /&gt;
Get parameters recursive&lt;br /&gt;
 aws ssm get-parameters-by-path --recursive --region eu-west-1 --path /&lt;br /&gt;
=list ecr repositories=&lt;br /&gt;
 aws ecr describe-repositories&lt;br /&gt;
 aws ecr describe-repositories | jq -r .repositories[].repositoryName&lt;br /&gt;
=list content of ecr repository=&lt;br /&gt;
 aws ecr list-images --repository-name &amp;lt;repository&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=create ecr=&lt;br /&gt;
 aws ecr create-repository --repository-name quay.io_strimzi_kafka_0.46.0-kafka-4.0.0_debezium_3.1.1&lt;br /&gt;
=list volumes=&lt;br /&gt;
 aws ec2 describe-volumes | jq -r &amp;#039;.Volumes[]|(.Size|tostring) +&amp;quot;\t&amp;quot;+ (.VolumeId|tostring) +&amp;quot;\t&amp;quot;+ (.VolumeId|tostring)&amp;#039; | column_tab | sort -n&lt;br /&gt;
=delete volumes=&lt;br /&gt;
 aws ec2 delete-volume --volume-id &amp;lt;volume-id&amp;gt;&lt;br /&gt;
=get console output from ec2=&lt;br /&gt;
 aws ec2 get-console-output --instance-id i-013cc270ad69f885f --query Output --output text&lt;br /&gt;
=list saml providers=&lt;br /&gt;
 aws iam list-saml-providers&lt;br /&gt;
=get info about saml provider=&lt;br /&gt;
 aws iam get-saml-provider --saml-provider-arn &amp;lt;arn&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ekaanbj</name></author>
	</entry>
</feed>