Skip to content

Deploy env is authoritative (1-9-stable)#1594

Merged
djmb merged 1 commit into1-9-stablefrom
1-9-dotenv-precedence
Jun 25, 2025
Merged

Deploy env is authoritative (1-9-stable)#1594
djmb merged 1 commit into1-9-stablefrom
1-9-dotenv-precedence

Conversation

@jeremy
Copy link
Member

@jeremy jeremy commented Jun 24, 2025

Otherwise, having a stray AWS_ACCESS_KEY_ID for your dev env can leak into your production deploys. The given deploy env should always be authoritative.

Only affects Kamal 1.x due to Dotenv.load usage.

@jeremy jeremy requested a review from djmb June 24, 2025 18:42
@djmb djmb merged commit 2ea60be into 1-9-stable Jun 25, 2025
1 of 6 checks passed
@djmb djmb deleted the 1-9-dotenv-precedence branch June 25, 2025 06:55
@djmb
Copy link
Collaborator

djmb commented Jun 25, 2025

Backported #1494 to fix the tests

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