Sha256: 4265ba9cb1232fe9e2dba60b3094e430d1e3f433f4498f89194fadec4b0b3d1b

Contents?: true

Size: 631 Bytes

Versions: 5

Compression:

Stored size: 631 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 successfully run `conjur hostfactory hosts create %{TOKEN} host-01`
    And the JSON should have "api_key"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
conjur-cli-6.2.0 features/hostfactory/tokens.feature
conjur-cli-6.1.0 features/hostfactory/tokens.feature
conjur-cli-6.0.1 features/hostfactory/tokens.feature
conjur-cli-6.0.0 features/hostfactory/tokens.feature
conjur-cli-6.0.0.rc1 features/hostfactory/tokens.feature