New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vagrant-gitlabauth

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vagrant-gitlabauth

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

Build Status Gem Version

vagrant-gitlabauth

Private, versioned Vagrant boxes hosted via LFS in GitLab. Inspired by vagrant-s3auth.

Installation

From the command line:

$ vagrant plugin install vagrant-gitlabauth

Usage

First generate private token in GitLab Profile Setting page of your account (e.g. profile/account, see https://docs.gitlab.com/ce/api/README.html#private-tokens for more details).

vagrant-gitlabauth will then automatically use environment variable PRIVATE_TOKEN as private_token query parameter and essentially authenticate following requests:

gitlab://git.private/group/project/raw/master/box
gitlab://git.private/group/project/raw/master/metadata
gitlabs://git.private/group/project/raw/master/box
gitlabs://git.private/group/project/raw/master/metadata

Hints:

  • Make sure you use --cacert, --cert or similar parameters when working with self-signed SSL certificates (e.g. vagrant box add --insecure gitlabs://git.private/group/project/raw/master/box)

Auto-install

Add following to your Vagrantfile:

['vagrant-gitlabauth'].each do |plugin_name|
  unless Vagrant.has_plugin?(plugin_name)
    # Attempt to install missing plugin
    system("vagrant plugin install #{plugin_name}") || exit!
    # Relaunch Vagrant so the plugin is detected. Exit with the same status code.
    exit system('vagrant', *ARGV)
  end
end

References

FAQs

Package last updated on 15 Mar 2017

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