Release Notes
Added
- Credentials with roles (registry API,
docs/api.md 2.4): sreg whoami prints Roles: (the
roles the token may use) and, for a token with both read and publish, a list of grants
for each role. --json output gains roles and access. The client models know roles,
read_grants, publish_grants and the scope of a secret, and update_credential sends
PATCH with roles and per-role grants. Registries without roles keep working: kind and
grants are used when roles and access are missing.
Changed
sreg whoami prints Roles: instead of Kind: (--json still has kind).
Install sreg-cli 0.2.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/kduma-OSS/serverless-registry-cli/releases/download/v0.2.0/sreg-cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/kduma-OSS/serverless-registry-cli/releases/download/v0.2.0/sreg-cli-installer.ps1 | iex"
Download sreg-cli 0.2.0