class Hiera::Backend::Eyaml::Parser::EncTokenType
Public Instance Methods
create_enc_token(match, type, enc_comma, cipher, indentation = '')
click to toggle source
# File lib/hiera/backend/eyaml/parser/encrypted_tokens.rb, line 103 def create_enc_token(match, type, enc_comma, cipher, indentation = '') encryption_scheme = enc_comma.nil? ? Eyaml.default_encryption_scheme : enc_comma.split(',').first EncToken.encrypted_value(type, encryption_scheme, cipher, match, indentation) end