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
| API | iam.etorm.com/v1alpha1 |
| Resource | processtokens (cluster-scoped inside its cluster) |
| Short names | none |
| Available in | project clusters only |
| Status | none: the object is configuration only |
Minimal example
apiVersion: iam.etorm.com/v1alpha1
kind: ProcessToken
metadata:
name: example
spec:
processRef:
name: "<name>"
Spec
| Field | Type | Required | Default | Allowed | Description |
processRef | object | yes | | | The process the token is for; it must exist in this project and the object is named like it. |
processRef.name | string | yes | | length 1 to 63 | |
expiresAt | string | | | up to 20 characters | RFC 3339 UTC. At most 24 hours from now; defaults to one hour. |
Status
| Field | Type | Required | Default | Allowed | Description |
secretHash | string | | | | |
subjectUid | string | | | | The uid of the process the token was issued for; the token stops working if the process is deleted and recreated. |
token | string | | | | Returned once, in the create response only. |
Columns in listings
| Column | From |
|---|
| Process | .spec.processRef.name |
| Expires | .spec.expiresAt |
All resources