From a0e2d7bd5935cb15602bb6683e0dd2c9c81b5be2 Mon Sep 17 00:00:00 2001 From: Umegbewe Nwebedu Date: Sat, 14 Oct 2023 14:19:00 +0100 Subject: [PATCH] updated docs --- README.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c3fce25..e2c58d4 100644 --- a/README.md +++ b/README.md @@ -5,20 +5,28 @@ I have been working with lots of secrets in AWS Secrets Manager the past few day I built ``mason`` to make stuff easier as simple as defining secrets this way -``` +```yaml secrets: + # create key value secret /example/postgres/secret: - value: + key_value: POSTGRES_USERNAME: postgres POSTGRES_PASSWORD: password tags: environment: local - /example/redis/secret: - value: - REDIS_PASSWORD: password + # create plain text secret + /example/nas/secret-lyric: + plaintext: | + Early on the wakeup + Cunning as the father of the twelve sons of jacob + Shake up the world cake crumbs tags: - environment: local - + track: fever + # create file secret + /example/file/secret: + file: "example.json" + tags: + file-type: json ``` ## **Install**