Skip to content

Update local to upstream 1.1.4 release #2#3

Open
corym-vermeer wants to merge 3 commits intomainfrom
akeyless-community-main
Open

Update local to upstream 1.1.4 release #2#3
corym-vermeer wants to merge 3 commits intomainfrom
akeyless-community-main

Conversation

@corym-vermeer
Copy link

No description provided.

omriezra and others added 3 commits May 15, 2025 14:44
* update-release-workflow

* bump version
…keyless-community#22)

* Fix rotated secrets JSON parsing when parse-json-secrets is enabled

- Handle rotatedSecret.value when it's already an object by stringifying it before parsing
- Update parseJson function to handle both objects and strings
- Improve error messages to include secret name for better debugging
- Fixes issue where rotated secrets with parse-json-secrets=true would fail to export individual fields

* Fix rotated secrets JSON parsing when parse-json-secrets is enabled

- Handle rotatedSecret.value when it's already an object by stringifying it before parsing (only when parseJsonSecrets=true)
- Update parseJson function to handle both objects and strings
- Improve error messages to include secret name for better debugging
- Preserve backward compatibility: old behavior maintained when parseJsonSecrets=false
- Bump version to v1.1.4

Fixes issue where rotated secrets with parse-json-secrets=true would fail to export individual fields

* Add tests for rotated secrets with parse-json-secrets

- Add test for parse-json-secrets=true with prefix (verifies the fix)
- Add test for parse-json-secrets=true without prefix (default prefix)
- Add test for parseJsonSecrets=false (backward compatibility verification)
- All 25 tests pass, covering the fix and backward compatibility
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.

3 participants

Comments