Skip to content

fix secrets stored in json format#466

Merged
fairclothjm merged 11 commits intomainfrom
VAULT-1818/jsonformat
Jun 21, 2023
Merged

fix secrets stored in json format#466
fairclothjm merged 11 commits intomainfrom
VAULT-1818/jsonformat

Conversation

@fairclothjm
Copy link
Copy Markdown
Collaborator

@fairclothjm fairclothjm commented Jun 9, 2023

We broke support for secrets in JSON format in #173. This adds that support back and also adds a few tests to ensure we can catch any regressions moving forward.

Additionally, we add some improvements to the local-test job that we run with the act CLI. Namely, it is no longer required to push up a branch with the local changes but instead act will use build and run the local src files as-is.

Closes #194

@fairclothjm fairclothjm force-pushed the VAULT-1818/jsonformat branch 3 times, most recently from a850752 to ff534fd Compare June 17, 2023 01:17
@fairclothjm fairclothjm force-pushed the VAULT-1818/jsonformat branch from ff534fd to 10ed439 Compare June 17, 2023 01:18
@fairclothjm fairclothjm requested a review from a team June 17, 2023 01:21
@fairclothjm fairclothjm changed the title add tests for json format fix secrets stored in json format Jun 20, 2023
Comment on lines +101 to +102
// This is required to support secrets in JSON format.
// See https://github.com/hashicorp/vault-action/issues/194 and https://github.com/hashicorp/vault-action/pull/173
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for adding these comments!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

No problem! Hopefully it will save someone all the time it took me to understand what is happening in this code :)

@fairclothjm fairclothjm merged commit b9f4d16 into main Jun 21, 2023
@fairclothjm fairclothjm deleted the VAULT-1818/jsonformat branch June 21, 2023 16:55
fairclothjm added a commit that referenced this pull request Jul 3, 2023
fairclothjm added a commit that referenced this pull request Jul 3, 2023
fairclothjm added a commit that referenced this pull request Jul 3, 2023
* Revert "fix secrets stored in json format (#466)"

This reverts commit b9f4d16.

* fix build: use new Verified Publisher image hashicorp/vault
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.

[BUG] v2.1.2 breaks secrets in JSON format

3 participants