Sha256: 5c9400ec06f5bb4af69ad7688b5ac668bd9f9ebd31badb478540bcd2b3384818
Contents?: true
Size: 283 Bytes
Versions: 3
Compression:
Stored size: 283 Bytes
Contents
require 'conjur/api' class Conjur::User # The attribute synchronization expects a +public_keys+ method on the User, so add one. # The expected form is a list, so split the raw pubkeys result on newlines. def public_keys conjur_api.public_keys(login).split("\n") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
conjur-asset-policy-0.13.0 | lib/conjur/api/patches/user.rb |
conjur-asset-policy-0.12.0 | lib/conjur/api/patches/user.rb |
conjur-asset-policy-0.11.0 | lib/conjur/api/patches/user.rb |