Packages · @purista/infisical-secret-store
@purista/infisical-secret-store
Infisical adapter for PURISTA secret values.
Signature
@purista/infisical-secret-store Examples
const store = new InfisicalSecretStore({
bearerToken: process.env.INFISICAL_TOKEN ?? '',
baseUrl: 'https:___PH0___
cacheTtl: 30_000,
})
const secret = await store.getSecret('ACME_PROD_PAYMENTS_API_TOKEN39;) Classes
2 entries
Type Aliases
8 entries
ClientConfig
Types
type ClientConfig = Prettify<Required<Pick<HttpClientConfig<unknown>, "bearerToken">> & Omit<HttpClientConfig<HttpClientConfigCustom>, "bearerToken">> HTTP client configuration for `InfisicalClient`.
DecryptInput
Types
type DecryptInput = void Input required to decrypt an Infisical encrypted field.
EncryptInput
Types
type EncryptInput = void Input required to encrypt an Infisical secret field.
HttpClientConfigCustom
Types
type HttpClientConfigCustom = EmptyObject Infisical client-specific HTTP configuration extension.
InfisicalSecretConfig
Types
type InfisicalSecretConfig = ClientConfig Configuration for `InfisicalSecretStore`.
Scope
Types
type Scope = void Environment and path scope granted to an Infisical service token.
Secret
Types
type Secret = void Encrypted secret payload returned by the Infisical API.
TokenData
Types
type TokenData = void Service token metadata returned by Infisical.
Variables
1 entry
puristaVersion
Variables
const puristaVersion: "3.0.1" The PURISTA package version embedded in the published runtime build.