README.md in strongdm-1.0.7 vs README.md in strongdm-1.0.8

- old
+ new

@@ -1,30 +1,49 @@ # strongDM SDK for Ruby -The official strongDM SDK for the Ruby programming language. +This is the official [strongDM](https://www.strongdm.com/) SDK for the Ruby programming language. -## Quick Start +## Installation -First, install the gem: - ```bash $ gem install strongdm ``` -Next, go to https://app.strongdm.com and create an API key. Set the `SDM_API_ACCESS_KEY` and `SDM_API_SECRET_KEY` environment variables. +## Authentication +If you don't already have them you will need to generate a set of API keys, instructions are here: [API Credentials](https://www.strongdm.com/docs/admin-guide/api-credentials/) + +Add the keys as environment variables; the SDK will need to access these keys for every request. ```bash $ export SDM_API_ACCESS_KEY=<YOUR ACCESS KEY> $ export SDM_API_SECRET_KEY=<YOUR SECRET KEY> ``` -Run some example code. +## List Users +The following code lists all registered users: ```ruby require "strongdm" client = SDM::Client.new(ENV['SDM_API_ACCESS_KEY'], ENV['SDM_API_SECRET_KEY']) users = client.accounts.list('') users.each do |user| p user end -``` +``` + +## Useful Links + +* Documentation: [strongdm gem](https://www.rubydoc.info/gems/strongdm) +* Examples: [GitHub - strongdm/strongdm-sdk-ruby-examples](https://github.com/strongdm/strongdm-sdk-ruby-examples) + 1. [Managing Resources](https://github.com/strongdm/strongdm-sdk-ruby-examples/tree/master/1_managing_resources) + 2. [Managing Accounts](https://github.com/strongdm/strongdm-sdk-ruby-examples/tree/master/2_managing_accounts) + 3. [Managing Roles](https://github.com/strongdm/strongdm-sdk-ruby-examples/tree/master/3_managing_roles) + 4. [Managing Gateways](https://github.com/strongdm/strongdm-sdk-ruby-examples/tree/master/4_managing_gateways) + +## License + +[Apache 2](https://github.com/strongdm/strongdm-sdk-ruby/blob/master/LICENSE) + +## Contributing + +Currently, we are not accepting pull requests directly to this repository, but our users are some of the most resourceful and ambitious folks out there. So, if you have something to contribute, find a bug, or just want to give us some feedback, please email <support@strongdm.com>. \ No newline at end of file