<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>aws on Amin Alaee</title>
    <link>https://aminalaee.github.io/tags/aws/</link>
    <description>Recent content in aws on Amin Alaee</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 26 Jan 2023 16:53:06 +0100</lastBuildDate><atom:link href="https://aminalaee.github.io/tags/aws/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Pydantic Settings with AWS Secrets Manager</title>
      <link>https://aminalaee.github.io/posts/2023/pydantic-settings-secret-manager/</link>
      <pubDate>Thu, 26 Jan 2023 16:53:06 +0100</pubDate>
      
      <guid>https://aminalaee.github.io/posts/2023/pydantic-settings-secret-manager/</guid>
      <description>Intro If you are already familiar with Pydantic, one of the useful components of Pydantic is the Settings Management. This will allow you to read settings variables from different sources and parse and validate them into class(es) using Pydantic.
Let&amp;rsquo;s see a minimal example. First we need to set up the variable:
$ export API_KEY=xxx And then we can read it into the Settings class with:
from pydantic import BaseSettings class Settings(BaseSettings): api_key: str print(Settings().</description>
    </item>
    
    <item>
      <title>FastAPI AWS Lambda deployment</title>
      <link>https://aminalaee.github.io/posts/2022/fastapi-aws-lambda/</link>
      <pubDate>Tue, 01 Nov 2022 12:48:06 +0100</pubDate>
      
      <guid>https://aminalaee.github.io/posts/2022/fastapi-aws-lambda/</guid>
      <description>How to deploy a larger FastAPI application to AWS Lambda?</description>
    </item>
    
  </channel>
</rss>
