<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title>Posts tagged with “Sso” on Mark van Lent’s weblog</title>
  <updated>2022-12-07T00:00:00+00:00</updated>
  <link rel="self" type="application/atom+xml" href="https://markvanlent.dev/tags/sso/index.xml" hreflang="en"/>
  <id>tag:markvanlent.dev,2010-04-02:/tags/sso/index.xml</id>
  <link rel="alternate" type="text/html" href="https://markvanlent.dev/tags/sso/" hreflang="en"/>
  <author>
      <name>Mark van Lent</name>
      <uri>https://markvanlent.dev/about/</uri>
    </author>
  <rights>Copyright (c) Mark van Lent, Creative Commons Attribution 4.0 International License.</rights>
  <icon>https://markvanlent.dev/favicon.ico</icon>
  <entry>
    <title type="html"><![CDATA[AWS CLI tools I&#39;ve used]]></title>
    <link rel="alternate" href="https://markvanlent.dev/2022/12/07/aws-cli-tools-ive-used/" type="text/html" />
    <id>https://markvanlent.dev/2022/12/07/aws-cli-tools-ive-used/</id>
    <author>
      <name>map[name:Mark van Lent uri:https://markvanlent.dev/about/]</name>
    </author>
    <category term="aws" />
    <category term="cli" />
    <category term="mfa" />
    <category term="sso" />
    <category term="tools" />
    
    <updated>2022-12-07T20:47:08Z</updated>
    <published>2022-12-07T00:00:00Z</published>
    <content type="html"><![CDATA[<p>A quick post (mostly for myself) to list the command line tools I&rsquo;ve used over
the years to interact with AWS, besides the official AWS Command Line Interface
(AWS CLI).</p>
<p>I was content with the AWS CLI initially, but once I had enabled and required
multi-factor authentication (MFA), using the AWS CLI became a bit of a nuisance.
So I started using <strong><a href="https://github.com/broamski/aws-mfa">aws-mfa</a></strong>. I also
wrote a post about it here, titled <a href="/2019/02/24/using-mfa-with-aws-cli/">Using MFA with AWS
CLI</a>.</p>
<p>The next tool I started using was <strong><a href="https://awsu.me/">Awsume</a></strong>. This Python
package makes it easier to manage your AWS credentials and sessions, especially
if you are accessing more than one account.</p>
<p>Once we started using Single Sign-On (SSO) more and more at work, I switched to
using <strong><a href="https://github.com/99designs/aws-vault">AWS Vault</a></strong>. I <em>think</em> the
reason I switched to AWS Vault was simply because Awsume did not support SSO,
but to be honest, I am not sure about that. (Neither do I know if Awsume
supports SSO at the moment.) Either way, what I really like about AWS Vault is
that it stores the credentials in an encrypted password store. So I no longer
had credentials lying around on my hard drive in plain text.</p>
<p>After reading the article
<a href="https://www.lastweekinaws.com/blog/taking-aws-account-logins-for-granted/">Taking AWS Account Logins For Granted</a>,
I also switched to using <strong><a href="https://granted.dev/">Granted</a></strong>. In contrast to AWS
Vault, Granted does not seem to have a way to securely store your long lived
credentials. If you are using those, you may want to use AWS Vault for those.
Since both tools use the same <code>~/.aws/config</code> file, you can use them next to each
other without a problem.</p>
<p>And that&rsquo;s the current state of affairs for me. Since I effectively only deal
with SSO logins, I use Granted and its <code>assume</code> command for my day-to-day.
Combined with the
<a href="https://addons.mozilla.org/en-GB/firefox/addon/granted/">Granted add-on for Firefox</a>
I can easily use multiple accounts and roles on the command line <em>and</em> in my
browser.</p>]]></content>
  </entry>
</feed>
