UUID
The UUID generator provides random UUIDs that you can feed into your applications. A UUID (Universally Unique Identifier) is a 128-bit label used for information in computer systems. Please see below for the format in use.
Output Keys and Values
Key | Description |
---|---|
uuid | the generated UUID |
Parameters
The UUID generator does not require any additional parameters.
Example Manifest
apiVersion: generators.external-secrets.io/v1alpha1
kind: UUID
metadata:
name: my-uuid
spec: {}
Example ExternalSecret
that references the UUID generator:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: "uuid"
spec:
refreshInterval: "30m"
target:
name: uuid-secret
dataFrom:
- sourceRef:
generatorRef:
apiVersion: generators.external-secrets.io/v1alpha1
kind: UUID
name: "my-uuid"
Which will generate a Kind=Secret
with a key called 'uuid' that may look like:
EA111697-E7D0-452C-A24C-8E396947E865
With default values you would get something like:
4BEE258F-64C9-4755-92DC-AFF76451471B