MCPcopy
hub / github.com/pocketbase/pocketbase / EncryptionEnv

Method EncryptionEnv

core/base.go:587–589  ·  view source on GitHub ↗

EncryptionEnv returns the name of the app secret env key (currently used primarily for optional settings encryption but this may change in the future).

()

Source from the content-addressed store, hash-verified

585// EncryptionEnv returns the name of the app secret env key
586// (currently used primarily for optional settings encryption but this may change in the future).
587func (app *BaseApp) EncryptionEnv() string {
588 return app.config.EncryptionEnv
589}
590
591// IsDev returns whether the app is in dev mode.
592//

Callers 1

TestNewBaseAppFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNewBaseAppFunction · 0.76