Skip to content

Commit 11dd547

Browse files
committed
secret always saved as json. Input only accept json, .env, or keyvalue pair
1 parent 753b610 commit 11dd547

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

awsm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,13 +710,13 @@ Usage:
710710
Options:
711711
-type Service type: sm (Secrets Manager, default) or ps (Parameter Store)
712712
-name Secret name
713-
-value Secret value (string, JSON, key-value pairs like "key1=val1,key2=val2", or @file to read from file)
713+
-value Secret value (JSON, key=value format, or a file with @/path/to/file containing JSON or .env)
714714
All values are stored as JSON objects
715715
-format Output format for get command: json (default, pretty-prints JSON) or raw (plain text)
716716
-desc Description for the secret or parameter (optional)
717717
718718
Notes:
719-
- All secrets are stored as JSON. Single string values are stored as {"value": "the-string-value"}
719+
- All secrets are stored as JSON.
720720
- When updating, existing JSON keys will be preserved and new keys will be added or updated
721721
- When using the run command, each key in the JSON becomes an environment variable
722722
`)

0 commit comments

Comments
 (0)