Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Generated Ruby Client Example #42

Merged
merged 7 commits into from
Dec 4, 2020
Merged

Adds Generated Ruby Client Example #42

merged 7 commits into from
Dec 4, 2020

Commits on Dec 4, 2020

  1. Update certificates to allow connections to localhost

    Adds localhost as a Subject Alternative Name on leafnode certificates.
    Allows SSL verification on local Conjur instances.
    Updates Python client demo to use HTTPS.
    john-odonnell committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    9603468 View commit details
    Browse the repository at this point in the history
  2. Moves policies used in examples to files

    Previously, the policies were defined in the example. Moving their definition
    to independent files will allow multiple examples to use the same policies
    in their workflows.
    john-odonnell committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    118f664 View commit details
    Browse the repository at this point in the history
  3. Add Ruby client example

    Demonstrates the same API endpoints as the Python example:
    - authentication
    - password change
    - policy load
    - API key rotation of foreign role
    - secret storage and retrieval
    john-odonnell committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    534dfff View commit details
    Browse the repository at this point in the history
  4. Adds documentation for client use-case examples

    Adds unique READMEs to each example, and generalizes terminology in
    project main README regarding examples. Updates CHANGELOG.
    john-odonnell committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    9e7aea7 View commit details
    Browse the repository at this point in the history
  5. Remove try/except blocks from Python example

    Python exits on exceptions. Removing these blocks simplify the example,
    and provide more extensive error messages if an exception does occur.
    john-odonnell committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    8a508ed View commit details
    Browse the repository at this point in the history
  6. Containerize Ruby client example

    Done to eliminate the need for a user to install RVM before using the example.
    This change includes the following:
    - Adds a ruby-example service to the project's docker-compose
    - Adds Dockerfile for building the ruby-example service
    - Updates to the Ruby example program and start script to account for these changes
    - Updates to start_conjur, integration_tests, and GHActions integration test workflow
      - These processes now build only the docker-compose services they require
      - GHAction workflow uses integration_tests script, reducing duplicate code
    - Documentation regarding the examples are updated across the project
    john-odonnell committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    e015301 View commit details
    Browse the repository at this point in the history
  7. Update Python example script output

    Script originally discarded output from other scripts, like generate_client and
    start_conjur. Redirection was limited to stdout, allowing stderr to display.
    john-odonnell committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    875dadb View commit details
    Browse the repository at this point in the history