Secret#
- class nominal.core.Secret(rid, name, description, properties, labels, created_at)#
Bases:
HasRid,RefreshableGrpcMixin[Secret]Metadata and lifecycle operations for a stored secret.
Secret values are supplied at creation and are not returned by this object.
- created_at: IntegralNanosecondsUTC#
- archive()#
Archive the secret, disallowing it to appear from users.
- delete()#
Permanently delete the secret, removing it from the database entirely.
- unarchive()#
Unarchive the secret, allowing it to appear to users.
- update(*, name=None, description=None, properties=None, labels=None)#
Update the secret in-place.
- Parameters:
- Returns:
Updated secret metadata.
- Return type:
Note
Fields left as None are unchanged.