Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/FlowiseAI/Flowise
/ generateAPIKey
Function
generateAPIKey
packages/server/src/utils/apiKey.ts:7–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
* @returns {string}
6
*/
7
export
const
generateAPIKey = (): string => {
8
const
buffer = randomBytes(32)
9
return
buffer.toString(
'base64url'
)
10
}
11
12
/**
13
* Generate the secret key
Callers
2
apiKey.test.ts
File · 0.90
createApiKey
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected