Oh this is a duplicate of In Account Object nested credentials secrets should be an enum instead of a string
Whoops.