-
How to assume an IAM role using AWS Boto3 and Python
Introduction
AWS Secure Token Service (STS) is a service provided by AWS that enables you to request temporary credentials with limited privilege for AWS IAM users. In this article, we will learn how to use the AWS Boto3 with STS to temporarily assume a different role.
-
How to read and write files stored in AWS S3 using Pandas?
-
AWS IAM Users vs Groups vs Roles
Introduction
AWS Identity and Access Management (IAM) helps you control access to your AWS resources.
When you first create an AWS Account, you have complete access to all AWS services and resources in that account. This identity is the root user for the account. An IAM identity provides access to an AWS account.
This article will dive deeper into the three IAM Identities (Users, Groups, and Roles) and understand their differences.
-
How to setup AWS RDS database with Flask-SQLAlchemy
Introduction
Flask-SQLAlchemy is an extension for Flask that adds support for SQLAlchemy to your application. SQLAlchemy is a Python library designed to simplify data access and manipulation. In other words, it helps programmers build applications that interact with databases.
SQLAlchemy is a powerful tool for building object oriented applications. It provides a clean interface for defining database schemas and mapping between those schemas and Python classes.
In this tutorial, we will look at how you can use Flask-SQLAlchemy with your AWS RDS database.
-
AWS CLI & Secrets Manager: Complete Guide with examples
Introduction
AWS Secret Manager allows you to store sensitive data like passwords, API keys, certificates, and other secrets securely in the cloud. When you create a secret, you define what kind of information should be stored, how long it should last, and who has access to it. Secrets manager also provides additional features such as rotation of credentials, encryption at rest, and automatic expiration of credentials.
With Secrets Manager, you can replace hardcoded credentials in your code, including passwords. You can retrieve secrets programmatically with an API call to Secrets Manager.
In this article, we will look at how to use the AWS CLI to perform common Secrets Manager operations.