Class: Conjur::Bootstrap::Command::Attic

Inherits:
Base
  • Object
show all
Defined in:
lib/conjur/bootstrap.rb

Instance Attribute Summary

Attributes inherited from Base

#api, #listener

Instance Method Summary collapse

Methods inherited from Base

#auditors, #echo, #find_or_create_record, #find_or_create_resource, #permit, #security_admin, #store_api_key

Instance Method Details

#atticObject



123
124
125
# File 'lib/conjur/bootstrap.rb', line 123

def attic
  api.user(attic_user_name)
end

#attic_user_nameObject



119
120
121
# File 'lib/conjur/bootstrap.rb', line 119

def attic_user_name
  "attic"
end

#performObject



115
116
117
# File 'lib/conjur/bootstrap.rb', line 115

def perform
  find_or_create_record attic
end