Repository navigation
Commit e8495fd
committed
docs(providers): read AWS STS secret from env, not process arguments
The off-AWS AWS STS refresh example expanded $AWS_SECRET_ACCESS_KEY into
a --material argument, exposing the long-lived secret in the host process
table (CWE-200). Use --secret-material-env aws_secret_access_key=AWS_SECRET_ACCESS_KEY
so the CLI reads the value from its own environment and marks it secret.
Signed-off-by: Russell Bryant <[email protected]>1 parent 6799dcc commit e8495fd
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
| 214 | + | |
216 | 215 | | |
217 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
218 | 221 | | |
219 | 222 | | |
220 | 223 | | |
| |||
0 commit comments