Skip to content

Load secrets for pre-connect#1772

Open
nickhammond wants to merge 1 commit intobasecamp:mainfrom
nickhammond:pre-connect-secrets
Open

Load secrets for pre-connect#1772
nickhammond wants to merge 1 commit intobasecamp:mainfrom
nickhammond:pre-connect-secrets

Conversation

@nickhammond
Copy link
Contributor

This PR enables secrets for the pre-connect hook which is useful when you're connecting to something that needs an API key or an additional detail that's stored in secrets.

I noticed when looking at the run_hook calls that only pre-deploy and post-deploy currently load secrets, which was a bit confusing. I was thinking the initial core four hooks(pre-connect, pre-build, pre-deploy, post-deploy) would load secrets for you.

There's nothing mentioned in the hook docs around loading secrets, it looks like loading those was added with the secrets upgrade(#924).

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.

1 participant