credentials add: apply egress policy derived from a custom provider profile's endpoints · Issue #11116 · NVIDIA/NemoClaw · GitHub
Skip to content

credentials add: apply egress policy derived from a custom provider profile's endpoints #11116

Description

@ericksoa

Problem Statement

A custom provider profile (imported with openshell provider profile import) can declare endpoints and binaries, and nemoclaw credentials add <name> --type <profile> registers the credential and exports the placeholder into sandboxes built afterwards. But the profile's endpoints do not become sandbox egress policy: a request to the declared host is refused at the proxy (Tunnel connection failed: 403 Forbidden) until the operator also writes and applies a separate custom preset for the same endpoint.

For the maintained presets (Tavily, Brave) NemoClaw does both halves itself; for a custom profile the two halves are easy to get wrong and drift apart.

Desired Behavior

When a credential is registered from a profile that declares endpoints, NemoClaw offers (or performs with --apply-policy) a preset derived from those endpoints, deny rules, and binaries, and reapplies it on rebuild. credentials list shows whether the policy is applied.

Scope and Exclusions

Profiles with endpoints only; endpointless profiles (nemoclaw-mcp-v1) unchanged.

Ongoing Ownership

Maintainers of credentials/policy presets.

Placement and Support Expectations

Core NemoClaw.

Validation Plan

Register a custom profile with one endpoint and a deny rule; after onboarding, a sandbox request to the endpoint is allowed with the injected credential and the denied tool is blocked, without a separate policy add.

Compatibility Requirements

Opt-in; existing credentials add behavior unchanged without the flag.

Security or Privacy Impact

None beyond the endpoints the operator already declared and reviewed in the profile.

Implementation Idea

Render a preset from the profile at credentials add time (same shape as create-custom-policy-presets), namespace it by provider, and add it to the rebuild reconciliation.

Checklist

  • I searched existing issues and this is not a duplicate
  • I described the problem and desired behavior

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: networkingDNS, proxy, TLS, ports, host aliases, or connectivityenhancementNew capability or improvement requestneeds: triageAwaiting maintainer classification

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions