| @@ -8,3 +8,5 @@ | |||
| 10 | 10 | SEARCH_INDEX=fernhill-products | |
| 11 | + | AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE | |
| 12 | + | AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | |
Comment on lines +11 to +12
High · secrets/aws-access-key · flagged by Guardrail
This commits the search indexer's AWS key pair to a file that ships with every deploy. Read both values from the vault at start-up. Then rotate the key in IAM: it stays in the branch history after this change.
| 11 | - | AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE |
| 12 | - | AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY |
| 11 | + | AWS_ACCESS_KEY_ID=op://prod/search-indexer/access-key-id |
| 12 | + | AWS_SECRET_ACCESS_KEY=op://prod/search-indexer/secret-key |
Applied in 4e1c9b7. Key rotated, SEC-418 closed.
ohaddad marked this conversation as resolved.