<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sydney Sweeney on Medium]]></title>
        <description><![CDATA[Stories by Sydney Sweeney on Medium]]></description>
        <link>https://medium.com/@kittysyddy?source=rss-f23532a5d92f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*VJF3-Dr4qob1cqkr0P7tvw.jpeg</url>
            <title>Stories by Sydney Sweeney on Medium</title>
            <link>https://medium.com/@kittysyddy?source=rss-f23532a5d92f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 11:11:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kittysyddy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[tokendito]]></title>
            <link>https://medium.com/dowjones/tokendito-4695d51eb50?source=rss-f23532a5d92f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4695d51eb50</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[okta]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[dow-jones]]></category>
            <category><![CDATA[cloud-security]]></category>
            <dc:creator><![CDATA[Sydney Sweeney]]></dc:creator>
            <pubDate>Wed, 31 Jul 2019 19:33:56 GMT</pubDate>
            <atom:updated>2019-08-07T17:49:06.566Z</atom:updated>
            <content:encoded><![CDATA[<h3>Securing AWS Authentication at Dow Jones</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*QVX7mculUp32eV-uzAP-Hg.png" /></figure><p>Being a leader in the cybersecurity domain is among the most pertinent ambitions of engineering at Dow Jones. Securing our cloud environment is one of our areas of excellence, notably with <a href="https://medium.com/dowjones/introducing-dow-jones-hammer-f0121815189a">Hammer</a>, Redwood [<a href="https://www.youtube.com/watch?v=ecT4eyy0CyU&amp;t=1307">1</a>][<a href="https://www.slideshare.net/AmazonWebServices/using-aws-lambda-as-a-security-team-sec322r1-aws-reinvent-2018/26">2</a>], and today, <a href="https://github.com/dowjones/tokendito">tokendito</a>!</p><p>Tokendito is our internal tool for generating temporary credentials to authenticate to AWS, via Okta. Our hands-on cloud stakeholders use tokendito for authentication via AWS CLI, Terraform, Python, Node, or any other programmatic interface to our AWS environment. The flow works such that when running tokendito, you will be prompted for your Okta login credentials, and once completing your MFA you will be presented options of which IAM roles you would like to authenticate to, based on your authorization within Okta. tokendito runs locally, ensuring your data remains with you, and writes the generated credentials in your $HOME/.aws/credentials file so that it is easily compatible with the AWS SDKs and CLI. Tokendito does not push credentials to any remote location. This is useful for engineers to securely develop and troubleshoot code locally in their IDE before pushing/deploying, and also useful to replace static IAM user API keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9BDoedAcOw-uW5rH" /></figure><h3>tokendito for secure development and CICD</h3><p>In CICD pipelines, tokendito is used to authenticate via Okta service users in favor of static API keys. The benefit of tokendito over static IAM user API keys is the usage of MFA; the power to manage the service user, it’s password, and the AWS assignment in Okta instead of directly in AWS; and also the ability to authenticate via SAML assertion instead of plaintext headers. Within AWS, this further accomplishes a zero-trust security architecture in favor of wide cross-account trust relationships between IAM roles and instance profiles. We especially find this implementation to be useful when authenticating into AWS from a 3rd party.</p><p>The example above shows how an individual may interact with tokendito to locally authenticate to AWS when using the CLI or writing/running a software application from their laptop. But one of the important use cases of tokendito at Dow Jones is how we use it embedded into a 3rd-party CICD pipeline.</p><p>Within a repository for a project, we can define the end-to-end system and application, and even the CICD pipeline that deploys the project to AWS. We run tokendito within CircleCI to generate the temporary credentials we use for deployment. When a PR onto master has passed all tests, checks, and scans, the step to run the deployment can be executed by invoking tokendito with specific parameters.</p><p>Here is an example of executing tokendito with the interaction provided at runtime:</p><ol><li>Configure project secrets with tokendito user email and password.</li><li>Run tokendito!</li></ol><pre>tokendito — username=me@mycompany.com \</pre><pre> — mfa-method=push \</pre><pre> — role-arn=arn:aws:iam::001234567890:role/dowjones-hammer-engineer`</pre><p>Here’s the lowdown on tokendito:</p><ul><li>It’s written in Python (forward compatible with Python 2 and 3)</li><li>It can run on your laptop, within your cicd pipeline, and more.</li><li>(Tested for Windows, Mac and Linux)</li><li>You can run tokendito interactively or with all of the inputs pre-populated.</li><li>tokendito writes the generated credentials to a local file.</li><li>We have been using it for over a year across multiple masterpayers in one of the largest global AWS environments, so we know it scales for AWS.</li><li>We have been using it over multiple instances of Okta, with multiple tiles in each instance, so we know it scales for Okta.</li><li>tokendito requires you to already have integrated your AWS account(s) with Okta.</li></ul><p>Because of how much we use and love tokendito, we wanted to share it with you, too! Give it a try!</p><p>pip install tokendito</p><p><a href="https://github.com/dowjones/tokendito">https://github.com/dowjones/tokendito</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4695d51eb50" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dowjones/tokendito-4695d51eb50">tokendito</a> was originally published in <a href="https://medium.com/dowjones">Dow Jones Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>