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:
parent
18cf10139d
commit
14b84ed9e6
1 changed files with 12 additions and 0 deletions
|
@ -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' => [
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue