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
applicationBackEnd
• applicationBackEnd: string
required
The back end of your application where LunaSec's node-sdk is installed.
Defined in
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
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
tokenizerUrl
• tokenizerUrl: string
The URL for the LunaSec tokenizer. Can be configured to use a deployed version of the tokenizer.
Defined in
grants
• grants: GrantConfigOptions
Configure how grants behave.
Defined in
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
localStackUrl
• Optional
localStackUrl: string
The URL for LocalStack.
Defined in
localBuildArtifacts
• Optional
localBuildArtifacts: boolean
Only used when building locally. Use local build artifacts when bringing up the stack, built by the monorepo.