Sha256: 84eaf90c45344622dcdc1a145791b4f6ed574ab0654aeea06d6cf2fd006caacb

Contents?: true

Size: 586 Bytes

Versions: 4

Compression:

Stored size: 586 Bytes

Contents

Feature: Embed values of Conjur variables into ERB template

  Background: 
    Given a file named "template.erb" with: 'aws credentials: [<%= conjurenv["aws_access_key"] %>, <%= conjurenv["aws_secret_key"] %>]'
    And I run `conjur variable create $ns/access_key ABCDEF`
    And I run `conjur variable create $ns/secret_key XYZQWER`

  Scenario:
    When I run `conjur env template --yaml '{ aws_access_key: !var $ns/access_key , aws_secret_key: !var $ns/secret_key }' template.erb `
    Then it prints the path to temporary file which contains: 'aws credentials: [ABCDEF, XYZQWER]'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
conjur-cli-4.28.2 acceptance-features/conjurenv/template.feature
conjur-cli-4.28.1 acceptance-features/conjurenv/template.feature
conjur-cli-4.28.0 acceptance-features/conjurenv/template.feature
conjur-cli-4.27.0 acceptance-features/conjurenv/template.feature