انتقل إلى المحتوى الرئيسي

Function: assertDriverPermitted()

assertDriverPermitted(driver, environment): void

Defined in: packages/secrets/src/drivers.ts:50

Refuses a driver that does not permit the environment class.

Parameters​

driver​

"file"

environment​

"staging" | "development" | "ci" | "integration" | "production"

Returns​

void

Throws​

Naming the SecretStore port, the driver, the class and the classes the driver permits.