You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use array config for apikey-auth keys and basic-auth credentials (#54)
The secret resolution system only resolves JSON object values, not keys.
This meant env:// references used as object keys (e.g. API keys in
apikey-auth) were never resolved at startup.
Change both plugins from map-style configs to array-of-entries:
- apikey-auth: keys map → array with explicit `key` field
- basic-auth: credentials map → array with explicit `username` field
This makes secret references work correctly for all auth config fields
and aligns both plugins with the pattern used by other plugins (oauth2,
s3, etc.).
BREAKING CHANGE: apikey-auth `keys` and basic-auth `credentials` config
fields are now arrays instead of objects.
0 commit comments