Agentic Data Plane

rpk ai egress-credential update

Update an Egress credential.

Usage

rpk ai egress-credential update NAME [flags]

Flags

Value Type Description

--etag

string

If set, fails with ABORTED when the current etag differs.

--display-name

string

Display name.

--description

string

Description.

--tags

stringArray

Tags. (repeatable key=value; replaces the full map on update).

--static-key.key-secret-ref

string

Secret store reference for the API key. (required in its group).

--static-key.header-name

string

HTTP header name for the API key. Defaults to 'Authorization'.

--api-key.key-secret-ref

string

Secret store reference for the API key. (required in its group).

--api-key.name

string

Header name OR query-string parameter name to send the key under. (required in its group).

--api-key.location

string

Whether to send the API key as an HTTP header or a query parameter. (one of: header, query).

--basic.username

string

Username for HTTP Basic authentication. (required in its group).

--basic.password-secret-ref

string

Secret store reference for the Basic Auth password (or API token used as a password). (required in its group).

--allowed-hosts

strings

The whole replacement list, 1 to 32 distinct entries as EgressCredential.allowed_hosts describes, for example api.github.com or *.example.com. (repeatable; replaces the full list on update).

-f, --filename

string

manifest to update from (YAML or JSON; "-" for stdin); flags override file values.

--dry-run

bool

print the request that would be sent (with the computed update mask) and exit without calling the server.

--clear

strings

field paths to clear (added to the update mask with the field unset), for example, --clear guardrail.

--update-mask

strings

override the inferred update mask with exactly these paths.

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.