Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add note about secrets manager #504

Merged
merged 3 commits into from
Jun 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,22 @@ you can use `CHAMBER_AWS_REGION` to override just for chamber.
If you'd like to use a custom SSM endpoint for chamber, you can use `CHAMBER_AWS_SSM_ENDPOINT`
to override AWS default URL.

## AWS Secrets Manager
Chamber supports AWS Secrets Manager as an optional backend. For example:

```
chamber -b secretsmanager write myservice foo fah
chamber -b secretsmanager write myservice foo2 fah2
```

This will result in one secret being generated with the following JSON value:
calebAtIspot marked this conversation as resolved.
Show resolved Hide resolved

```json
{"_chamber_metadata":"{\"foo\":{\"created\":\"2024-06-05T00:32:06.680112Z\",\"created_by\":\"arn:aws:sts::0123456789:assumed-role/yourrole\",\"version\":1},\"foo2\":{\"created\":\"2024-06-05T00:32:39.672526Z\",\"created_by\":\"arn:aws:sts::0123456789:assumed-role/yourrole\",\"version\":1}}",
"foo":"fah",
"foo2":"fah2"}
```

## S3 Backend (Experimental)

By default, chamber store secrets in AWS Parameter Store. We now also provide an
Expand Down Expand Up @@ -476,4 +492,4 @@ a github release.

<div align="center">
THE CHAMBER OF SECRETS HAS BEEN OPENED
</div>
</div>
Loading