Sha256: 1b91016a81eb8c1e348989ce82411ce588858823d8b35e5e4fc4b6ebe898871f
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
#!/usr/bin/env ruby require "pathname" bin_file = Pathname.new(__FILE__).realpath $:.unshift File.expand_path("../../lib", bin_file) require 'soar_authentication_token' require 'yaml' class Main def generate_keypair #create and configure auditing instance keypair_generator = SoarAuthenticationToken::KeypairGenerator.new private_key, public_key = keypair_generator.generate configuration = { 'private_key' => private_key, 'public_key' => public_key } print configuration.to_yaml end end main = Main.new main.generate_keypair
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
soar_authentication_token-0.0.1 | bin/keypair-generator |