Skip to content

About

Ruby gem to read oci configuration data from file.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

OCIConfigReader

A simple gem to read data from oci config file. So in Ruby sample codes you don't need to write down/copy-paste the same information again-and-again.

Installation

Add this line to your application's Gemfile:

gem 'oci_config_reader'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install oci_config_reader

Usage

The gem will try to read the data from: ~/.oci/config

user = OciConfigReader.oci_config_data["user"]
fingerprint = OciConfigReader.oci_config_data["fingerprint"]
key_file = OciConfigReader.oci_config_data["key_file"]
tenancy = OciConfigReader.oci_config_data["tenancy"]

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kicsipixel/oci_config_reader.

License

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

About

Ruby gem to read oci configuration data from file.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages