Skip to content

govuk-one-login/mobile-wallet-status-list-mock

Repository files navigation

Mobile Wallet Status List Mock

Overview

This is a mock implementation of the Status List service used by GOV.UK Wallet to check the current status of its stored credentials. It is designed for integration with the Example Credential Issuer (CRI) and GOV.UK Wallet in development and build environments only.

This project uses AWS SAM to define and deploy the following AWS resources:

  • API Gateway (regional REST API): Provides endpoints for credential status management and public access to status lists and JSON Web Key Sets (JWKS)
  • AWS Lambda functions: Handle status issuance, revocation, and JWKS publishing
  • Amazon S3 buckets: Store status lists and JWKS
  • AWS KMS key (asymmetric): Used for cryptographically signing status list tokens

Pre-requisites

  • Node.js version 22 or higher (use the provided .nvmrc file with nvm for easy version management)
  • AWS SAM CLI for deployment

Quickstart

Install dependencies

npm install

Test

Unit Tests

Run unit tests to test functionality of individual functions:

npm run test

About

wallet-status-list-mock

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •