Socket
Book a DemoInstallSign in
Socket

vagrant-aws-credentials

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vagrant-aws-credentials

0.1.4
bundlerRubygems
Version published
Maintainers
1
Created
Source

Vagrant Aws Credentials

This plugin allows Vagrant to read your AWS Credentials, just configure which AWS profile to use. It serves as an alternative while this pull request isn't merged to vagrant-aws plugin.

Installation

$ vagrant plugin install vagrant-aws-credentials

Usage

Get your AWS Credentials on the standard awscli credentials file. Tell vagrant-aws-credentials plugin which profile you're gonna use:

config.aws_credentials.profile = "default"

Config your vagrant-aws plugin on the Vagrantfile to search for secrets on the following environment variables:

  config.aws_credentials.profile = "default"
  config.vm.provider :aws do |aws, override|

    aws.access_key_id             = ENV["VAGRANT_AWS_ACCESS_KEY"]
    aws.secret_access_key         = ENV["VAGRANT_AWS_SECRET_ACCESS_KEY"]
    aws.session_token             = ENV["VAGRANT_AWS_SESSION_TOKEN"]
    ...
  end

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To run this plugin with Vagrant, you need to be aware of plugin development basics.

But a quick tip is to use as:

$ bundle exec vagrant

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/datherra/vagrant-aws-credentials. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 13 Mar 2016

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.