class Conjur::Policy::Executor::CreateUser

Sync the user's public keys using the Pubkeys service. POSTing the public keys to the User service won't have any effect.

Public Instance Methods

execute() click to toggle source
# File lib/conjur/policy/executor/create.rb, line 61
def execute
  super
  
  Array(record.public_keys).each do |key|
    action({
      'method' => 'post',
      'path' => public_key_path,
      'parameters' => key
    })
  end
end