Sha256: b5c3fd4afbefb7f76056795cfd3d1c1bef1335cf5a8e518bf6209b759fb03954

Contents?: true

Size: 963 Bytes

Versions: 22

Compression:

Stored size: 963 Bytes

Contents

Feature: Create a Host

  Scenario: Create a host with automatically generated ID
    When I successfully run `conjur host create`
    And the JSON should have "api_key" 
    And the JSON should have "id"

  Scenario: Create a host with explicit ID
    When I successfully run `conjur host create $ns.myhost.example.com`
    And the JSON should have "api_key" 
    And I keep the JSON response at "id" as "ID" 
    Then the output should contain "myhost.example.com"
  
  Scenario: Create a host owned by the security_admin group
    When I successfully run `conjur host create --as-group $ns/security_admin`
    And I keep the JSON response at "ownerid" as "OWNERID"
    Then the output should contain "/security_admin"
  
  Scenario: Host does not belong to any layers by default
    When I successfully run `conjur host create $ns.myhost.example.com`
    And I successfully run `conjur host layers $ns.myhost.example.com`
    And the JSON should be []  
     

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
conjur-cli-4.28.0 acceptance-features/directory/host/create.feature
conjur-cli-4.27.0 acceptance-features/directory/host/create.feature