Agentic Data Plane

rpk ai egress-credential detach

Detach an egress credential: delete the policies whose @inject_credential names it, with the other policies of the same attach (they carry the same redpanda.com/egress-policy-group tag). Without --policy-id, every attachment of the credential goes. The credential itself, and what a sandbox did with it, stay.

Requires permission to delete the policies.

Usage

rpk ai egress-credential detach CREDENTIAL [flags]

Examples

This section provides examples of how to use rpk ai egress-credential detach.

rpk ai egress-credential detach github
rpk ai egress-credential detach github --policy-id egress-github-api-github-com-443

Flags

Value Type Description

--policy-id

string

Detach only this attach: the id of its connect policy, or of its request policy.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.