Sha256: b236bdc62d101ccaa4557c5c4a37164fa0f45b3ebc55994cf74f999c151795dc

Contents?: true

Size: 618 Bytes

Versions: 18

Compression:

Stored size: 618 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`
    And I reset the command list

  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

18 entries across 18 versions & 1 rubygems

Version Path
conjur-cli-5.6.6 acceptance-features/conjurenv/template.feature
conjur-cli-5.6.5 acceptance-features/conjurenv/template.feature
conjur-cli-5.6.4 acceptance-features/conjurenv/template.feature
conjur-cli-5.6.3 acceptance-features/conjurenv/template.feature
conjur-cli-5.5.0 acceptance-features/conjurenv/template.feature
conjur-cli-5.4.0 acceptance-features/conjurenv/template.feature
conjur-cli-5.3.0 acceptance-features/conjurenv/template.feature
conjur-cli-5.2.5 acceptance-features/conjurenv/template.feature
conjur-cli-5.2.4 acceptance-features/conjurenv/template.feature
conjur-cli-5.2.3 acceptance-features/conjurenv/template.feature
conjur-cli-5.2.1 acceptance-features/conjurenv/template.feature
conjur-cli-5.2.0 acceptance-features/conjurenv/template.feature
conjur-cli-5.1.2 acceptance-features/conjurenv/template.feature
conjur-cli-5.1.1 acceptance-features/conjurenv/template.feature
conjur-cli-5.1.0 acceptance-features/conjurenv/template.feature
conjur-cli-4.30.1 acceptance-features/conjurenv/template.feature
conjur-cli-4.30.0 acceptance-features/conjurenv/template.feature
conjur-cli-4.29.0 acceptance-features/conjurenv/template.feature