Skip to the content
Documentation

expsecret

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

One secret of the kernel's secret store (table exp_secret): its name, the tool it belongs to (scope), a description, and its value encrypted with XChaCha20-Poly1305 (sodium) under the store's key (expSecretKey).

Description

One secret of the kernel's secret store (table exp_secret): its name, the tool it belongs to (scope), a description, and its value encrypted with XChaCha20-Poly1305 (sodium) under the store's key (expSecretKey). The value is never an attribute: only expSecrets decrypts it, for the code that needs it. See expSecrets.

@since 6.0.15

Persistent

Yes. Table exp_secret.

Attributes

Attribute Type Static*
id integer Yes.
name string Yes.
scope string Yes.
description string Yes.
ciphertext text Yes.
key_id string Yes.
created integer Yes.
modified integer Yes.
creator_id integer Yes.
modifier_id integer Yes.
readable - No.

* Yes: a field of the table (a stored value); No: a function attribute, computed when it is asked for.

Source

kernel/classes/secrets/expsecret.php, expSecret::definition()

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this object.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.