Class: Conjur::User

Inherits:
Object show all
Defined in:
lib/conjur/api/patches/user.rb

Instance Method Summary collapse

Instance Method Details

#public_keysObject

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.



6
7
8
# File 'lib/conjur/api/patches/user.rb', line 6

def public_keys
  conjur_api.public_keys().split("\n")
end