Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Secrets Manager

This revision card explains Secrets Manager. It starts from the need that passwords go in a locker, not code. On the card, the building blocks include create-secret from a file. The how-to section notes get-secret-value reads it. An example on the card is rotate-secret with a Lambda.

Secrets Manager Passwords go in a locker, not code. create-secret from a file. get-secret-value reads it. rotate-secret with a Lambda.
Secrets Manager · Download PNG
Read card text

What this card says

Why do we need it?

Passwords go in a locker, not code.

What is it?

create-secret from a file.

--secret-string file://db.json

How to do it

get-secret-value reads it.

| jq -r .user

Example

rotate-secret with a Lambda.

AutomaticallyAfterDays=30

See all AWS revision cards