Resources / MCPCredential

MCPCredential

A credential for one MCP endpoint: a token that works on that endpoint only and nowhere else in the API. The token is shown once, when this object is created; to rotate, create a new credential, move the client over, then delete the old one.

Overview

APIintelligence.etorm.com/v1alpha1
Resourcemcpcredentials (cluster-scoped inside its cluster)
Short namesmcpcred
Available inproject clusters only
Statuswritten by a controller through /status

Minimal example

apiVersion: intelligence.etorm.com/v1alpha1
kind: MCPCredential
metadata:
  name: example
spec:
  endpointRef:
    name: "<name>"

Spec

FieldTypeRequiredDefaultAllowedDescription
endpointRefreference to MCPEndpointyesThe endpoint the token is for. Cannot be changed.
descriptionstringup to 200 charactersWho or what holds it.
expiresAtstringup to 40 charactersWhen it stops working (RFC 3339). Empty means it does not expire; give one.
disabledbooleanfalsetrue refuses the token without deleting the credential.

Status

FieldTypeRequiredDefaultAllowedDescription
phasestringActive, Expired or Disabled.
secretHashstringSHA-256 of the token's secret. The secret itself is never stored.
tokenstringReturned once, in the create response only.
lastUsedAtstringWhen it was last used (RFC 3339), to the minute.
conditionslist of objectDetailed state.
conditions[].typestringAspect.
conditions[].statusstringTrue or False.
conditions[].reasonstringMachine-readable reason.
conditions[].messagestringHuman-readable detail.

Columns in listings

ColumnFrom
Endpoint.spec.endpointRef.name
Expires.spec.expiresAt
LastUsed.status.lastUsedAt
Phase.status.phase

All resources