Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
This gem give you programmatic access to securely fetch secrets form RevBits PAM.
Add this line to your application's Gemfile:
gem 'revbits_pam'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install revbits_pam
RevBits PAM supports the following configurations
The simplest configuration is to supply required attributes to configuration object as follows:
# Authentication Type (Optional), default (and only available option for now) is :pam
RevbitsPamCicd.configuration.auth_type = :pam
# 'appliance_url' required
RevbitsPamCicd.configuration.appliance_url = "https://your-appliance-url.com"
# 'api_key' required
RevbitsPamCicd.configuration.api_key = "YourRevBitsPamApiKey"
RevBits PAM will automatically fetch the configuration if the following ENV variables are set.
REVBITS_AUTH_TYPE
(Optional)REVBITS_APPLIANCE_URL
(Required)REVBITS_API_KAY
(Required)RevBits PAM also supports configuration via block as follows:
RevbitsPamCicd.configure do |c|
c.auth_type = :pam (Optional)
c.appliance_url = "https://your-appliance-url.com"
c.api_key = "YourRevBitsPamApiKey"
end
:warning: Beware of adding your credentials directly into code always use secrets or ENV to fetch them dynamically.
# Configuration
RevbitsPamCicd.configuration.auth_type = :pam
RevbitsPamCicd.configuration.appliance_url = "https://your-appliance-url.com"
RevbitsPamCicd.configuration.api_key = "YourRevbitsPamCicdApiKey"
# Fetching secrets form RevBits PAM
db_password = RevbitsPamCicd::API.fetch_secret('DB_PASSWORD')
Bug reports and pull requests are welcome on GitHub at https://github.com/RevBits/PAM-SDK/tree/main/revbits-secrets-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the RevbitsPamCicd project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that revbits_pam_cicd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.