Show raw api
{
"functions": [
{
"name": "SetPublicKeySeed",
"desc": "Sets the public key seed for the cryptography-at-rest scenario",
"params": [
{
"name": "seed",
"desc": "",
"lua_type": "number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 42,
"path": "src/secrets/src/Server/SecretsService.lua"
}
},
{
"name": "Start",
"desc": "Starts the secret service. Should be done via [ServiceBag].",
"params": [],
"returns": [],
"function_type": "method",
"source": {
"line": 54,
"path": "src/secrets/src/Server/SecretsService.lua"
}
},
{
"name": "PromiseSecret",
"desc": "Promises a secret value",
"params": [
{
"name": "secretKey",
"desc": "",
"lua_type": "string"
}
],
"returns": [
{
"desc": "",
"lua_type": "Promise<string>"
}
],
"function_type": "method",
"source": {
"line": 67,
"path": "src/secrets/src/Server/SecretsService.lua"
}
},
{
"name": "PromiseAllSecrets",
"desc": "Promises all secret values",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "@return Promise<{string}>"
}
],
"function_type": "method",
"source": {
"line": 92,
"path": "src/secrets/src/Server/SecretsService.lua"
}
},
{
"name": "ObserveSecret",
"desc": "Observes a secret value",
"params": [
{
"name": "secretKey",
"desc": "",
"lua_type": "string"
}
],
"returns": [
{
"desc": "",
"lua_type": "Observable<string>"
}
],
"function_type": "method",
"source": {
"line": 118,
"path": "src/secrets/src/Server/SecretsService.lua"
}
},
{
"name": "DeleteSecret",
"desc": "Deletes a secret from the secret store",
"params": [
{
"name": "secretKey",
"desc": "",
"lua_type": "string"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 151,
"path": "src/secrets/src/Server/SecretsService.lua"
}
},
{
"name": "StoreSecret",
"desc": "Stores a secret in the secret store",
"params": [
{
"name": "secretKey",
"desc": "",
"lua_type": "string"
},
{
"name": "value",
"desc": "",
"lua_type": "string"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 165,
"path": "src/secrets/src/Server/SecretsService.lua"
}
},
{
"name": "ClearAllSecrets",
"desc": "Clears all the secrets stored in the datastore",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "{ string }"
}
],
"function_type": "method",
"source": {
"line": 190,
"path": "src/secrets/src/Server/SecretsService.lua"
}
},
{
"name": "PromiseSecretKeyNamesList",
"desc": "Gets a list of all available secret keys for the game",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "{ string }"
}
],
"function_type": "method",
"source": {
"line": 201,
"path": "src/secrets/src/Server/SecretsService.lua"
}
}
],
"properties": [],
"types": [],
"name": "SecretsService",
"desc": "",
"source": {
"line": 4,
"path": "src/secrets/src/Server/SecretsService.lua"
}
}