lib/ridley/client.rb
# The encrypted data bag secret for this connection.
#
# @raise [Ridley::Errors::EncryptedDataBagSecretNotFound]
#
# @return [String, nil]
The encrypted data bag secret for this connection.
The encrypted data bag secret for this connection .
def encrypted_data_bag_secret
      return nil if encrypted_data_bag_secret_path.nil?
      ::IO.read(encrypted_data_bag_secret_path).chomp
    rescue Errno::ENOENT => e
      raise Errors::EncryptedDataBagSecretNotFound, "Encrypted data bag secret provided but not found at '#{encrypted_data_bag_secret_path}'"
    end
def encrypted_data_bag_secret return nil if encrypted_data_bag_secret_path . nil? :: IO . read ( encrypted_data_bag_secret_path ) . chomp rescue Errno :: ENOENT => e raise Errors :: EncryptedDataBagSecretNotFound , "Encrypted data bag secret provided but not found at '#{encrypted_data_bag_secret_path}'" end
The encrypted data bag secret for this connection.
The encrypted data bag secret for this connection .
None
String, nil
None