-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
Description
Describe the bug
The type name and all the related documentation say that this is supposed to create a map from one or more KV pairs. It does not. It finds the first =, then everything on the left is the key and everything on the right is the value. I have have tried formatting the string in a variety of ways, to no avail.
To Reproduce
Steps to reproduce the behavior:
- Implement code that uses frakework.TypeKVPairs
- Try to pass a string with multiple k/v entries
Expected behavior
If I pass the string "A=a,B=b,C=c", then I should get a map of { "A":"a";"B":"b"; "C":"c" }.
Environment:
- Vault Server Version (retrieve with
vault status): 1.20 - Vault CLI Version (retrieve with
vault version): 1.20 - Server Operating System/Architecture: Linux/amd64
Vault server configuration file(s):
# Paste your Vault config here.
# Be sure to scrub any sensitive valuesAdditional context
Add any other context about the problem here.