Packages · @purista/gcloud-secret-store

@purista/gcloud-secret-store

Google Secret Manager adapter for PURISTA secret values.

Signature

@purista/gcloud-secret-store.ts typescript
@purista/gcloud-secret-store

Examples

example-1.ts typescript
const store = new GoogleSecretStore({
  project: 'projects/example-project',
  cacheTtl: 30_000,
})

const secret = await store.getSecret('acme-prod-payments-api-token')

Classes

1 entry

GoogleSecretStore

Classes

Source
GoogleSecretStore.ts typescript
class GoogleSecretStore

Secret store backed by Google Secret Manager.

Type Aliases

1 entry

GoogleSecretStoreConfig

Types

Source
GoogleSecretStoreConfig.ts typescript
type GoogleSecretStoreConfig = void

Google Secret Manager store configuration.

Variables

1 entry

puristaVersion

Variables

Source
puristaVersion.ts typescript
const puristaVersion: "3.0.1"

The PURISTA package version embedded in the published runtime build.