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 armhf amd64

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.11.0*

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

Download URLs

Version SHA256 Size (KB)
2.11.0 1ab08ae329815500bd7e7ebb88d0326d67a666c0919c0fb51ed87e24f89e5ad1 4037
Version SHA256 Size (KB)
2.11.0 8e49500f938d3a73e12599d86d4d0abb989126074bc7005e9f538ed46c746070 3441
Version SHA256 Size (KB)
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
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

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