Conversion of metal-cli 2-factor auth subcommands from packngo to equinix-sdk-go is blocked because the Equinix Metal OpenAPI spec is missing many details for MFA setup and validation.
This works around the API issue by patching the local SDK spec to fill in the missing MFA details. These patches were written based on the packngo MFA implementation.
Conversion of
metal-cli
2-factor auth subcommands frompackngo
toequinix-sdk-go
is blocked because the Equinix Metal OpenAPI spec is missing many details for MFA setup and validation.This works around the API issue by patching the local SDK spec to fill in the missing MFA details. These patches were written based on the
packngo
MFA implementation.