Class: Conjur::Bootstrap::Command::Attic
- Inherits:
-
Base
- Object
- Struct
- Base
- Conjur::Bootstrap::Command::Attic
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
#attic ⇒ Object
123
124
125
|
# File 'lib/conjur/bootstrap.rb', line 123
def attic
api.user(attic_user_name)
end
|
#attic_user_name ⇒ Object
119
120
121
|
# File 'lib/conjur/bootstrap.rb', line 119
def attic_user_name
"attic"
end
|
115
116
117
|
# File 'lib/conjur/bootstrap.rb', line 115
def perform
find_or_create_record attic
end
|