Skip to content

Fix token auth error causing jobs to fail, unit tests#41

Open
joevanwanzeeleKF wants to merge 7 commits into
release-3.2from
check_token_first#87881
Open

Fix token auth error causing jobs to fail, unit tests#41
joevanwanzeeleKF wants to merge 7 commits into
release-3.2from
check_token_first#87881

Conversation

@joevanwanzeeleKF

Copy link
Copy Markdown
Contributor
  • Now catching unauthorized exception and continuing job (with assumption of KV V2 and logged warning.

  • Added unit tests. License headers. Changelog.

doebrowsk and others added 7 commits June 30, 2025 13:46
* separating the writing on passphrase and cert; including parameters for passphrase path and cert and passphrase prop names

* added additional logic to build request based on how the secret is stored.

* updated remaining cert stores

* Update generated docs

* Updated password write to preserve existing secret content if any.

* Update generated docs

* documentation and manifest updates

* Update generated docs

* Trimming leading slashes from passphrase secret name

* Update generated docs

* added additional logging and null checking on response data.

* Update generated docs

* added null check in catch block for reading the cert and passphrase; removed newtonsoft.json from the solution.  Added additional logging.

* implemented check for KV version, format requests depending on result

* Update generated docs

* updated read/write operations on kv-v1 to reflect that the secrets are _always_ stored as JSON in v1.

---------

Co-authored-by: Joe VanWanzeele <76071503+joevanwanzeeleKF@users.noreply.github.com>
Co-authored-by: Keyfactor <keyfactor@keyfactor.github.io>
…on of KV V2 and logged warning. Added unit tests. License headers. Changelog.
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