aws/aws-nitro-enclaves-nsm-api

This provides a library for interacting with the Nitro Secure Module, which provides Nitro Enclaves with attestation capability.

Rust

88

39 commits

updated Jul 8, 2026

See the code

README

Nitro Secure Module library

version docs msrv

This is a collection of helpers which Nitro Enclaves userland applications can use to communicate with a connected NitroSecureModule (NSM) device.

Various operations can be requested such as:

  • PCR query and manipulation
  • Attestation
  • Entropy

Prerequisites

An up-to-date RUST toolchain (v1.63.0 or later)

How To Build

  1. Clone the repository
  2. Execute make nsm-api-stable

How to Test

Prerequisites

To run the tests it's required to build the command-executor tool, as follows:

make command-executor

License

This project is licensed under the Apache-2.0 License.

Security issue notifications

If you discover a potential security issue in the Nitro Enclaves NSM API, we ask that you notify AWS Security via our vulnerability reporting page. Please do not create a public GitHub issue.

enclaves
nitro
nitro-enclaves

Contributors

tylerfanelli

13 commits

popegeo

6 commits

meerd

3 commits

aws/aws-nitro-enclaves-nsm-api

This provides a library for interacting with the Nitro Secure Module, which provides Nitro Enclaves with attestation capability.

Rust

88

39 commits

updated Jul 8, 2026

See the code

README

Nitro Secure Module library

version docs msrv

This is a collection of helpers which Nitro Enclaves userland applications can use to communicate with a connected NitroSecureModule (NSM) device.

Various operations can be requested such as:

  • PCR query and manipulation
  • Attestation
  • Entropy

Prerequisites

An up-to-date RUST toolchain (v1.63.0 or later)

How To Build

  1. Clone the repository
  2. Execute make nsm-api-stable

How to Test

Prerequisites

To run the tests it's required to build the command-executor tool, as follows:

make command-executor

License

This project is licensed under the Apache-2.0 License.

Security issue notifications

If you discover a potential security issue in the Nitro Enclaves NSM API, we ask that you notify AWS Security via our vulnerability reporting page. Please do not create a public GitHub issue.

enclaves
nitro
nitro-enclaves

Contributors

tylerfanelli

13 commits

popegeo

6 commits

meerd

3 commits

Languages

Rust

69.5%

C++

22.5%

Makefile

6.8%

Shell

1.2%