Sha256: c235b5098d3a34e0fc024fe30bb7a4c70487039ed6e60843f9ffed475964dff9

Contents?: true

Size: 641 Bytes

Versions: 6

Compression:

Stored size: 641 Bytes

Contents

Feature: Host factory tokens

  Background: 
    Given I load the policy:
    """
    - !policy
      id: myapp
      body:
      - !layer
      - !host-factory
        layers: [ !layer ]
    """

  Scenario: create a host factory token
    When I successfully run `conjur hostfactory tokens create myapp`
    Then the JSON should have "0/token"

  Scenario: create a host using a token
    When I successfully run `conjur hostfactory tokens create myapp`
    And I keep the JSON response at "0/token" as "TOKEN"
    Then I use it to successfully run `conjur hostfactory hosts create %{TOKEN} host-01`
    And the JSON should have "api_key"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
conjur-cli-6.2.6 features/hostfactory/tokens.feature
conjur-cli-6.2.5 features/hostfactory/tokens.feature
conjur-cli-6.2.4 features/hostfactory/tokens.feature
conjur-cli-6.2.3 features/hostfactory/tokens.feature
conjur-cli-6.2.2 features/hostfactory/tokens.feature
conjur-cli-6.2.1 features/hostfactory/tokens.feature