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

feat: CI-2184 set doppler autorotated keynames to ones accepted by si… #117

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

debugwand
Copy link
Contributor

@debugwand debugwand commented Apr 9, 2024

…gned-es-aws-fetch

doppler auto secret rotation requires a suffix of _ACCESS_KEY_ID, but signed-es-aws-fetch module does not have that in its list of accepted key names. This will get the doppler secret and set it to one of the approved signed-es-aws-fetch ones

@debugwand debugwand requested a review from a team as a code owner April 9, 2024 10:27
index.js Outdated
@@ -8,3 +8,8 @@ module.exports = {
mapping: require('./lib/mapping'),
msearch: require('./lib/msearch')
};

// doppler auto secret rotation requires a suffix of _ACCESS_KEY_ID, but signed-es-aws-fetch module does not have that in its list of accepted key names
if (process.env.ES_AWS_ACCESS_KEY_ID) {
Copy link
Contributor

@juanSanchezAlcala juanSanchezAlcala Apr 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be at the beginning of the file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it won't affect them as they aren't required until signedFetch is called, but I'm moving to top as it is more typical to have the exports at the end

@juanSanchezAlcala juanSanchezAlcala dismissed their stale review April 9, 2024 14:14

realized about possible issue

@debugwand debugwand merged commit 7927a01 into main Apr 9, 2024
8 checks passed
@debugwand debugwand deleted the ci-2184-doppler-format branch April 9, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants