Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artifact Signing CLI

A simple CLI tool to sign files with Azure Artifact Signing

Prerequisites

Installation

cargo install artifact-signing-cli or download the binary from the latest releases

Usage

The CLI expects the following environment variables to be set or you can pass them as arguments. You need to create an Azure App Registration (you can use this article to get the credentials):

  • AZURE_CLIENT_ID (or use --azure-client-id)
  • AZURE_CLIENT_SECRET (or use --azure-client-secret)
  • AZURE_TENANT_ID (or use --azure-tenant-id)
  • AZURE_ARTIFACT_SIGNING_ACCOUNT (or use --account/-a)
  • AZURE_ARTIFACT_SIGNING_CERTIFICATE_PROFILE (or use --certificate/-c)

Signing a single file: artifact-signing-cli -e <url> -a <account name> -c <certificate profile name> file1.exe

Signing multiple files: artifact-signing-cli -e <url> -a <account name> -c <certificate profile name> file1.exe file2.exe file3.exe

For more information run artifact-signing-cli --help

Releases

Used by

Contributors

Languages