Skip to content

Commit 2420d35

Browse files
committed
Add YAML keys for all keys in a key group.
Signed-off-by: Felix Fontein <[email protected]>
1 parent 3c69a6b commit 2420d35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ type configFile struct {
129129
}
130130

131131
type keyGroup struct {
132-
Merge []keyGroup
133-
KMS []kmsKey
132+
Merge []keyGroup `yaml:"merge"`
133+
KMS []kmsKey `yaml:"kms"`
134134
GCPKMS []gcpKmsKey `yaml:"gcp_kms"`
135135
AzureKV []azureKVKey `yaml:"azure_keyvault"`
136136
Vault []string `yaml:"hc_vault"`
137137
Age []string `yaml:"age"`
138-
PGP []string
138+
PGP []string `yaml:"pgp"`
139139
}
140140

141141
type gcpKmsKey struct {

0 commit comments

Comments
 (0)