Class: MintPress::Console::Secrets

Inherits:
Object
  • Object
show all
Includes:
MintLogger
Defined in:
src/mintpress-console/lib/mintpress-console/secrets.rb

Properties (Read/Write)

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Method Summary collapse

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Constructor Details

#initialize(client) ⇒ Secrets

Returns a new instance of Secrets.

Instance Method Details

#decrypt(credential) ⇒ Object

Decrypt a credential

#get_credential(vault:, group:, credential:, decrypt: false) ⇒ Object

Get a credential

#get_vault(vault:) ⇒ Object

Get the contents of an entire vault

#listObject

List the available vaults

#list_credentials(vault:, group:) ⇒ Object

#list_groups(vault:) ⇒ Object