Sha256: bc74103d4216f5daed0e1177454dfb04ad778f03073636e688dd2cd04ea0dc97

Contents?: true

Size: 824 Bytes

Versions: 4

Compression:

Stored size: 824 Bytes

Contents

# Conjur::API

Programmatic Ruby access to the Conjur API.

## Installation

Add this line to your application's Gemfile:

    gem 'conjur-api'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install conjur-api

## Usage

To instantiate the API, using configuration stored stored in `~/.conjurrc`:

```ruby
require 'conjur/cli'
Conjur::Config.load
conjur = Conjur::API.new_from_key username, api_key
```

You can find the username and api_key in ~/.netrc after you've logged in.

Fancier/different init scenarios are possible but this should be a good start!

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
conjur-api-4.10.2 README.md
conjur-api-4.10.1 README.md
conjur-api-4.10.0 README.md
conjur-api-4.9.2 README.md