Heyo, so i have a config.json file looking like this
{
"clouds": {
"gcp": {},
"hetzner": {},
"aws": {
"AWS_ACCESS_KEY_ID": "",
"AWS_SECRET_ACCESS_KEY": ""
},
"azure": {}
},
}
I was wondering if i could somehow extract "gcp", "hetzner", "aws" and "azure" from it easily? like just a slice with those 4 keys.
I've tried creating a subviper on it and running AllKeys, but that returns AWS_ACCESS_KEY_ID too, and GetStringSlice returns nil.