Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@neilbmclaughlin/github-secrets

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neilbmclaughlin/github-secrets

manage git repository secrets

  • 1.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Github Secrets

Usage

github-secrets put [option] [filename]

upsert repository secrets from either a file or stdin

Notes:
1: Options can also be specified in env vars prepended with 'GITHUB_SECRETS'
(e.g. GITHUB_SECRETS_ACCESS_TOKEN, GITHUB_SECRETS_OWNER)
2: Expected format for each input line is {key}={value}

Options:
      --help          Show help                                        [boolean]
      --version       Show version number                              [boolean]
  -a, --access-token  Github personal access token                    [required]
  -o, --owner         Github repository owner                         [required]
  -r, --repository    Github repository
github-secrets delete [option] [filename]

delete repository secrets from either a file or stdin

Notes:
1: Options can also be specified in env vars prepended with 'GITHUB_SECRETS'
(e.g. GITHUB_SECRETS_ACCESS_TOKEN, GITHUB_SECRETS_OWNER)
2: Expected format for each input line is {key}={value}

Options:
      --help          Show help                                        [boolean]
      --version       Show version number                              [boolean]
  -a, --access-token  Github personal access token                    [required]
  -o, --owner         Github repository owner                         [required]
  -r, --repository    Github repository

Examples

github-secrets put -a {access token} -o neilbmclaughlin -r github-secrets test/data/env

github-secrets delete -a {access token} -o neilbmclaughlin -r github-secrets test/data/env

cat test/data/env | github-secrets delete -a {access token} -o neilbmclaughlin -r github-secrets

FAQs

Package last updated on 22 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc