Module: Conjur::HasIdentifier

Includes:
HasAttributes
Included in:
Deputy
Defined in:
lib/conjur/has_identifier.rb

Overview

Included in Conjur assets that have an identifier attribute.

Instance Method Summary collapse

Methods included from HasAttributes

#attributes, #invalidate, #refresh, #save, #to_json

Instance Method Details

#identifierString

Get the identifier attribute. This is a fully qualified Conjur id.

Permissions

You must have the "read" permission on the underlying resource to call this method.

Returns:

  • (String)

    the asset's fully qualified id



32
33
34
# File 'lib/conjur/has_identifier.rb', line 32

def identifier
  attributes['identifier']
end