lib/samson/secrets/hashicorp_vault_backend.rb
# id is the last element and should not include directories
id is the last element and should not include directories
id is the last element and should not include directories
def vault_path(id, direction)
          parts = id.split(DIRECTORY_SEPARATOR, ID_SEGMENTS)
          raise ActiveRecord::RecordNotFound, "Invalid id #{id.inspect}" unless parts.size == ID_SEGMENTS
          convert_path!(parts.last, direction)
          parts.join(DIRECTORY_SEPARATOR)
        end
def vault_path ( id , direction ) parts = id . split ( DIRECTORY_SEPARATOR , ID_SEGMENTS ) raise ActiveRecord :: RecordNotFound , "Invalid id #{id.inspect}" unless parts . size == ID_SEGMENTS convert_path! ( parts . last , direction ) parts . join ( DIRECTORY_SEPARATOR ) end
id is the last element and should not include directories
id is the last element and should not include directories
id
direction