Resources / SecretKey

SecretKey

The data key of one project, wrapped under the platform key. Made by the platform with the project's first secret; clients cannot create or change it. Deleting it destroys every secret of the project for good (crypto-erase), so it is refused while secrets exist.

Overview

APIsecrets.etorm.com/v1alpha1
Resourcesecretkeys (cluster-scoped inside its cluster)
Short namesnone
Available inthe platform and project clusters
Statuswritten by a controller through /status

Minimal example

apiVersion: secrets.etorm.com/v1alpha1
kind: SecretKey
metadata:
  name: example
spec: {}

Spec

FieldTypeRequiredDefaultAllowedDescription
rewrapRequestedAtstringup to 64 charactersChange this string to wrap the data key again under the current platform key. The key operator does this after a platform key rotation.
wrappedobject (free-form)Server-managed wrapped data keys. Never settable and never returned.

Status

FieldTypeRequiredDefaultAllowedDescription
phasestring (one of)Ready, FailedReady when the data key opens under the platform key.
conditionslist of objectDetailed state: Sealed, and KeyOperator (is the operator that rewraps the key after a platform key rotation registered and running).
conditions[].typestringAspect.
conditions[].statusstringTrue or False.
conditions[].reasonstringMachine-readable reason.
conditions[].messagestringHuman-readable detail.
conditions[].lastTransitionTimestringWhen the status last changed (RFC 3339).
keyVersionintegerVersion of the platform key the current wrapping uses.
dataKeysintegerNumber of data keys held (ids stay readable until no sealed version uses them).
createdAtstringWhen the key was made (RFC 3339).
rewrappedAtstringWhen it was last wrapped again (RFC 3339).
secretsintegerNumber of secrets in the project

Columns in listings

ColumnFrom
KeyVersion.status.keyVersion
DataKeys.status.dataKeys
Phase.status.phase

All resources