Am Mittwoch, den 09.09.2020, 09:14 -0500 schrieb Mattias Giese:

> The following snippet redacts the content from log output but stores
> the cleartext in the resulting
> 
> file, thus doing what you are looking for
> 
> 
> 
> ```
> 
>   file { "${home}/.meraki_env":
> 
>     ensure  => file,
> 
>     owner   => $user,
> 
>     group   => $group,
> 
>     content => Sensitive("export
> MERAKI_DASHBOARD_API_KEY=${dashboard_api_key}"),
> 
>     mode    => '0600',
> 
>   }
> 
> ```

Thanks a lot. That's at least a workaround.

Bye...

Dirk
-- 
Dirk HeinrichsSenior Systems Engineer, Delivery PipelineOpenText ™ Discovery | 
RecommindPhone: +49 2226 15966 18Email: [email protected]: 
www.recommind.deRecommind GmbH, Von-Liebig-Straße 1, 53359 
RheinbachVertretungsberechtigte Geschäftsführer Gordon Davies, Madhu
Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn,
Registernummer HRB 10646This e-mail may contain confidential and/or privileged 
information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material in
this e-mail is strictly forbiddenDiese E-Mail enthält vertrauliche und/oder 
rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-
Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail sind nicht gestattet.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/2a57e1599b008f3299a87529d907f05cf1562ab5.camel%40opentext.com.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to