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

s3-groundskeeper

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

s3-groundskeeper

One way sync. local directory -> s3 bucket's content

  • 0.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

S3 Grounds Keeper

One way synchronization local directory content with Amazon S3 bucket.

Setup, develop, build

npm

setup: npm i start develop: npm run build

yarn

setup yarn start develop: yarn build

CLI

--arg-shortrequireddescription
--src=path-s=path*path to source (sync out) directory
--s3-region=name*S3 Bucket's region
--s3-endpoint=urlS3 Endpoint URL
--s3-key=key*S3 Access Key
--s3-seckey=key*S3 Secret Access Key
--s3-bucket=name-b=name*S3 destination (sync in) bucket name (NOT ARN, just a name)
--artifactory-url=url*jfrog Artifactory base url
--artifactory-user=username*jfrog Artifactory user
--artifactory-password=passwordjfrog Artifactory user's password
--artifactory-apikey=jfapikeyjfrog Artifactory user's Api key
--dry-run-nDry run: do nothing only prints what to do.
--show-confPrint json object for the used configuration.

jFrog notes

Currently supported Basic authentication using your username and API Key: user name and Api key must be provided. Each request will use Authorization (http header) = base64('Basic jfuser:jfapikey'). Instead of api key password also can be used.

S3 notes

Access to s3 bucket provided through AWS SDK/Client S3 Api. There is required parameters to configure access to S3 resources:

  • region;
  • access key / secret access key;
  • target bucket's name;

Metapointer file format.

#metapointer PROVIDERNAME oid provider_secific_data

Providers:

ProviderDataSample
jfrogartoid aql_request_field:field_valueoid md5:e26a6019c8da5d9a3e6f742c0c6cc02c

Sample for jfrogart

#metapointer jfrogart oid md5:e26a6019c8da5d9a3e6f742c0c6cc02c

or

#metapointer jfrogart oid name:myfilename.txt

Publish a new release

  1. Make an annotated git tag using git tag -a <version> or git tag -s <version>, if signed tag is preferred.
  2. Checkout the tag, cleanup the working tree.
  3. Install the dependencies: npm ci.
  4. Build the package: npm run build -- --version <version>.
  5. Create the tarball: npm pack ./dist, check the tarball contents.
  6. Publish the tarball: npm publish <path-to-tgz>.

Keywords

FAQs

Package last updated on 15 Feb 2024

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