lib/bolt/application.rb
# Decrypt ciphertext using the configured secret plugin.
#
# @param ciphertext [String] The ciphertext to decrypt.
# @param plugin [String] The secret plugin to use.
# @return [Boolean]
#
Decrypt ciphertext using the configured secret plugin.
Decrypt ciphertext using the configured secret plugin .
def decrypt_secret(ciphertext, plugin: 'pkcs7')
      unless plugins.by_name(plugin)
        raise Bolt::Plugin::PluginError::Unknown, plugin
      end
      plugins.get_hook(plugin, :secret_decrypt)
             .call('encrypted_value' => ciphertext)
    end
def decrypt_secret ( ciphertext , plugin : 'pkcs7' ) unless plugins . by_name ( plugin ) raise Bolt :: Plugin :: PluginError :: Unknown , plugin end plugins . get_hook ( plugin , :secret_decrypt ) . call ( 'encrypted_value' => ciphertext ) end
Decrypt ciphertext using the configured secret plugin.
Decrypt ciphertext using the configured secret plugin .
None
Boolean
ciphertext
The ciphertext to decrypt.
The ciphertext to decrypt .
plugin
The secret plugin to use.
The secret plugin to use .