Dart SDK - Secrets#
Encrypted project secrets. Values are masked in lists; reveal returns them
one at a time.
Create and list#
final secret = await db.secrets.set(
key: 'API_SECRET',
value: 's3cr3t',
description: 'shared with the billing service', // optional
);
await db.secrets.list();
DARTReveal, update, remove#
final revealed = await db.secrets.reveal(secretId);
// revealed.data! => {'id': ..., 'key': 'API_SECRET', 'value': 's3cr3t'}
await db.secrets.update(secretId, value: 'rotated', description: 'rotated 2026-10');
await db.secrets.remove(secretId);
DARTNext: Webhooks.