Go back to list
How to manage AWS Credentials

1. How to use AWS Secure Token Service to manage credentials

Overview

This episode shows how to leverage on AWS Secure Token Service to manage AWS Credentials. On this episode, a terraform module is setup to create the necessary resources to manage AWS credentials using AWS Secure Token Service which provides short lived tokens for better management of credentials used to interact with AWS API.

Tools and scripts

Create terraform templates: https://github.com/dyordsabuzo/miscellany/blob/main/tools/terraform-create-template-files.sh Create terraform workspace with Execution mode of Local: https://github.com/dyordsabuzo/miscellany/blob/main/tools/terraform-workspace-local.sh Generate STS Token: https://github.com/dyordsabuzo/miscellany/blob/main/aws/set-aws-tokens.sh

Next 2. How to setup AWS SSO to manage credentials

Recommended book references

Click on book reference to open product details in Amazon website.