1
0
Fork 0
mirror of synced 2024-07-02 05:00:33 +12:00

Add a secrets attribute to the identities collection

These secrets can be used to store data from the provider that may or
may not be sensitive.

For example, this will be used by the migration API when connecting to
Firebase to store the service account used for the migration.

This data will only be used internally inside Appwrite and not exposed
to an end user or developer.
This commit is contained in:
Steven Nguyen 2023-08-09 08:11:15 -07:00
parent 18cf10139d
commit 14b84ed9e6
No known key found for this signature in database

View file

@ -782,6 +782,18 @@ $commonCollections = [
'array' => false,
'filters' => ['encrypt'],
],
[
// Used to store data from provider that may or may not be sensitive
'$id' => ID::custom('secrets'),
'type' => Database::VAR_STRING,
'format' => '',
'size' => 16384,
'signed' => true,
'required' => false,
'default' => [],
'array' => false,
'filters' => ['json', 'encrypt'],
],
],
'indexes' => [
[