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