Skip to main content

Interface: DevelopmentConfigOptions

Development configuration options are properties that can be modified to configure local development when using the LunaSec stack. These properties are available to assist in matching a production deployment as close as possible.

Properties

applicationFrontEnd

โ€ข applicationFrontEnd: string

required The front end of your application where you will be including LunaSec Secure Components.

Defined in

types.ts:71


applicationBackEnd

โ€ข applicationBackEnd: string

required The back end of your application where LunaSec's node-sdk is installed.

Defined in

types.ts:75


sessionJwksUrl

โ€ข sessionJwksUrl: string

The JWKS url where the public key for creating sessions will be available. By default, this is set to: applicationBackEnd/.lunasec/jwks.json.

Defined in

types.ts:83


signingKey

โ€ข signingKey: string

This is only used in demo mode. The signing key is used by the application backend in the demo for cryptographically signing sessions.

Defined in

types.ts:87


tokenizerUrl

โ€ข tokenizerUrl: string

The URL for the LunaSec tokenizer. Can be configured to use a deployed version of the tokenizer.

Defined in

types.ts:95


grants

โ€ข grants: GrantConfigOptions

Configure how grants behave.

Defined in

types.ts:99


authProviders

โ€ข Optional authProviders: Record<string, JwksAuthProviderConfig>

Authentication providers lets you specify multiple providers for identity for session validation. This option will override applicationBackEnd as the authentication provider

Defined in

types.ts:79


localStackUrl

โ€ข Optional localStackUrl: string

The URL for LocalStack.

Defined in

types.ts:91


localBuildArtifacts

โ€ข Optional localBuildArtifacts: boolean

Only used when building locally. Use local build artifacts when bringing up the stack, built by the monorepo.

Defined in

types.ts:103