Skip to content

nsc

Tool for creating nkey/jwt based configurations

Command-line tool for creating and managing NATS configurations using NKEYs and JWTs. It simplifies the generation, organization, and handling of secure credentials and account structures for NATS deployments, enabling operators to efficiently configure authentication, authorization, and permissions across users and services in a secure, scalable way.

devops

https://github.com/nats-io/nsc

arm64 amd64 armhf

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install nsc

sudo apt install nsc

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    nsc=2.12.0*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      nsc=2.12.0*

Download URLs

Version SHA256 Size (KB)
2.12.0 fbe47346c37ce1b1695080e7ea283ce1678b02774a26f46a0befc1c5aeef6f9d 4105
2.11.1 af6d373c2a69df28becf8d9b8b4a8c986d5bf657a249bd5a1ee9b8e4e3580897 4099
2.11.0 1ab08ae329815500bd7e7ebb88d0326d67a666c0919c0fb51ed87e24f89e5ad1 4037
Version SHA256 Size (KB)
2.12.0 33302d63580af3dbd34771be94fe07ca90cca64ea932501bf2f81e3e9b2bcd2d 3477
2.11.1 2747772aa54d967d9721e11017c17fbcc9ee9990b3a81cb734c8d2e1ce008903 3472
2.11.0 8e49500f938d3a73e12599d86d4d0abb989126074bc7005e9f538ed46c746070 3441
Version SHA256 Size (KB)
2.12.0 ebc1c02a1ab19cccf9051405c772375f0acd8f13fa896fd2b4012ff4bffbab19 3578
2.11.1 666eb546597776160a64213a55dedbe73c3a5e4fa29329fa070d6eec40acb3c3 3575
2.11.0 6725f91f6cf2a78be0df686a752cd03964bce44e0609bbad871dc311c2d3c93e 3514

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for nsc are versioned here.

Click here to see nsc ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/nsc/ops2deb.yml
name: nsc
matrix:
  architectures:
    - amd64
    - arm64
    - armhf
  versions:
    - 2.11.0
    - 2.11.1
    - 2.12.0
homepage: https://github.com/nats-io/nsc
summary: tool for creating nkey/jwt based configurations
description: |-
  Command-line tool for creating and managing NATS configurations using NKEYs and
  JWTs. It simplifies the generation, organization, and handling of secure
  credentials and account structures for NATS deployments, enabling operators to
  efficiently configure authentication, authorization, and permissions across
  users and services in a secure, scalable way.
fetch:
  url: https://github.com/nats-io/nsc/releases/download/v{{version}}/nsc-linux-{{target}}.zip
  targets:
    armhf: armv7
install:
  - nsc:/usr/bin/

The blueprint fetch keyword contains a URL template pointing to nsc releases. Downloaded files are locked in a lockfile versioned here.

Click here to see nsc release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/nsc/ops2deb.lock.yml
- url: https://github.com/nats-io/nsc/releases/download/v2.11.0/nsc-linux-amd64.zip
  sha256: a1ca11ca1080c35fbfb908b6241e41369cd289030d3d410ac86f85cc096e0169
  timestamp: 2025-07-18 10:15:34+00:00
- url: https://github.com/nats-io/nsc/releases/download/v2.11.0/nsc-linux-arm64.zip
  sha256: fe58c477bdc798d4cd688ae949b93ba08330d970f0f5e3c42f74cc68e2f41d24
  timestamp: 2025-07-18 10:15:34+00:00
- url: https://github.com/nats-io/nsc/releases/download/v2.11.0/nsc-linux-armv7.zip
  sha256: ef0bb7ff6ed383e9c4e1b68617e3bcdecec869afaafef5cf2f34cbde12255052
  timestamp: 2025-07-18 10:15:34+00:00
- url: https://github.com/nats-io/nsc/releases/download/v2.11.1/nsc-linux-amd64.zip
  sha256: 1109ddb3073affdda0c52b7ac71f7b3df7ff2be46346542151be6501afb90b92
  timestamp: 2025-08-19 00:08:16+00:00
- url: https://github.com/nats-io/nsc/releases/download/v2.11.1/nsc-linux-arm64.zip
  sha256: 1e656aebc445634c9847ac1734df7465ee3ceb948eef9b9f577e54e381fed7be
  timestamp: 2025-08-19 00:08:16+00:00
- url: https://github.com/nats-io/nsc/releases/download/v2.11.1/nsc-linux-armv7.zip
  sha256: 53d63110c127d27a7341cb3f876917820c6a53c98cf51a43b5751fa761c862ff
  timestamp: 2025-08-19 00:08:16+00:00
- url: https://github.com/nats-io/nsc/releases/download/v2.12.0/nsc-linux-amd64.zip
  sha256: 5eb3ac4d1d07463572a18efe4432d79b2b2fea06759c9d016197b477d4c38bbc
  timestamp: 2025-09-23 00:08:17+00:00
- url: https://github.com/nats-io/nsc/releases/download/v2.12.0/nsc-linux-arm64.zip
  sha256: 7343f246746673bd887a107d8fecdb11e50f9fc079cf38f29f518763adac884e
  timestamp: 2025-09-23 00:08:17+00:00
- url: https://github.com/nats-io/nsc/releases/download/v2.12.0/nsc-linux-armv7.zip
  sha256: 56d708096a0ba62a6f009363a7b985264db5fd19cade6c35d5e57dcc61c0ef9f
  timestamp: 2025-09-23 00:08:17+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/nsc.svg)](https://docs.wakemeops.com/packages/nsc)
<a href="https://docs.wakemeops.com/packages/nsc">
  <img src="https://docs.wakemeops.com/badges/nsc.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/nsc.svg
:target: https://docs.wakemeops.com/packages/nsc