Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Key Vault URL parsing error when using YAML '>-' block style #1656

Closed
sEpt0r opened this issue Oct 22, 2024 · 0 comments · Fixed by #1652
Closed

Azure Key Vault URL parsing error when using YAML '>-' block style #1656

sEpt0r opened this issue Oct 22, 2024 · 0 comments · Fixed by #1652

Comments

@sEpt0r
Copy link
Contributor

sEpt0r commented Oct 22, 2024

Problem:

The Azure Key Vault key parser would fail when URLs contained leading or trailing whitespace, which commonly occurs when using YAML Block Scalar syntax.

creation_rules:
  - azure_keyvault: >-
      https://test.vault.azure.net/keys/test-key/a2a690a4fcc04166b739da342a912c90,
      https://test2.vault.azure.net/keys/another-test-key/cf0021e8b743453bae758e7fbf71b60e

This resulted in the error:

could not parse " https://test2.vault.azure.net/keys/another-test-key/cf0021e8b743453bae758e7fbf71b60e" into a valid Azure Key Vault MasterKey

Fix:

Fixed in #1652

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 a pull request may close this issue.

1 participant