Examining the AWS Security Token Service (STS)

Lab Steps

lock
Determining When to Use AWS STS
lock
Logging in to the Amazon Web Services Console
lock
Connecting to the Virtual Machine Using EC2 Instance Connect
lock
Touring the AWS Security Token Service
lock
Simulating Federation with AWS STS

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h
Students29

Description

AWS Security Token Service (STS) allows you to request temporary credentials that allow access to AWS resources in your AWS account. Policies associated with the credentials allow you to restrict privileges.

Learning how and when to use AWS STS will make you more effective at understanding and implementing secure solutions in the public AWS cloud.

In this lab, you will examine the AWS STS API, you will use it to generate temporary credentials.

Learning Objectives

Upon completion of this beginner-level lab, you will be able to:

  • Use the AWS CLI to check your current credentials
  • Use the AWS CLI to assume an AWS IAM role
  • Implement a simple Python web application that assumes an IAM role using AWS STS

Intended Audience

  • Candidates for the AWS Certified Developer Associate certification
  • Cloud Architects
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • AWS Security Token Service (STS)
  • AWS Identity and Access Management (IAM)
  • The AWS command-line interface (CLI)
  • The Python scripting language

The following content can be used to fulfill the prerequisite:

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students55141
Labs139
Courses2
Learning paths3

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds multiple AWS certifications including Solutions Architect Associate and Professional.