Changeset 0.15.0 patches (#72)
This commit is contained in:
@@ -279,6 +279,9 @@ func (r *Resolver) resolveBinding(ctx context.Context, binding *RoleBinding) (pr
|
||||
if err != nil {
|
||||
return nil, providers.ProviderConfig{}, "", fmt.Errorf("decrypt API key: %w", err)
|
||||
}
|
||||
} else if len(cfg.APIKeyEnc) > 0 {
|
||||
// No vault — key stored as raw bytes (unencrypted fallback)
|
||||
apiKey = string(cfg.APIKeyEnc)
|
||||
}
|
||||
|
||||
// Parse headers
|
||||
|
||||
Reference in New Issue
Block a user