feat(plugin): add support for storage service

This commit is contained in:
Damian Debkowski authored and Louis Ruch committed 2023-05-30 15:26:19 -04:00
1 parent 46c53fb94a
commit 010b9df595
16 files changed
+3589 -14

No files matched your search

+3
View File
@@ -44,6 +44,9 @@ func GetCredentialsConfig(in *structpb.Struct, region string) (*awsutil.Credenti
badFields[fmt.Sprintf("attributes.%s", ConstRegion)] = err.Error()
}
// the creds_last_rotated_time field will be found in the input struct for
// persisted secrets, this value is not needed for creating the CredentialsConfig
delete(unknownFields, ConstCredsLastRotatedTime)
for s := range unknownFields {
badFields[fmt.Sprintf("secrets.%s", s)] = "unrecognized field"
}