Resources / ProcessToken

ProcessToken

A short-lived bearer secret that lets a process call the API as itself (system:process:<project>:<name>). Made by the machine that hosts the process; the secret is shown once at creation and never stored. The process has no rights unless the platform bound a role to it in the root cluster.

Overview

APIiam.etorm.com/v1alpha1
Resourceprocesstokens (cluster-scoped inside its cluster)
Short namesnone
Available inproject clusters only
Statusnone: the object is configuration only

Minimal example

apiVersion: iam.etorm.com/v1alpha1
kind: ProcessToken
metadata:
  name: example
spec:
  processRef:
    name: "<name>"

Spec

FieldTypeRequiredDefaultAllowedDescription
processRefobjectyesThe process the token is for; it must exist in this project and the object is named like it.
processRef.namestringyeslength 1 to 63
expiresAtstringup to 20 charactersRFC 3339 UTC. At most 24 hours from now; defaults to one hour.

Status

FieldTypeRequiredDefaultAllowedDescription
secretHashstring
subjectUidstringThe uid of the process the token was issued for; the token stops working if the process is deleted and recreated.
tokenstringReturned once, in the create response only.

Columns in listings

ColumnFrom
Process.spec.processRef.name
Expires.spec.expiresAt

All resources