TraGicCode / tragiccode-azure_key_vault

Pull secrets from Azure's key vault with this puppet module.
Apache License 2.0
6 stars 16 forks source link

Document using the new puppet 6 Deferred data type #19

Open TraGicCode opened 6 years ago

TraGicCode commented 6 years ago

Straight from puppetize live 2018.

notify { title:  message => “I am a secret agent.” }

  $secret = Deferred(“azure_key_vault::secret”, [‘turbodog-keyvault’, ‘foo’, {
     metadata_api_version => ‘2018-02-01’,
    vault_api_version    => ‘2016-10-01’,
  }])
  notify { secret: message => $secret }