Sha256: 019348681571b50fc145387a21b8543b517ef41b7f550d153353e3bff6f35ab9

Contents?: true

Size: 1007 Bytes

Versions: 18

Compression:

Stored size: 1007 Bytes

Contents

Feature: List known public key names for a user

  Background:
    Given I successfully run `conjur user create alice@$ns`
    And I successfully run `ssh-keygen -t rsa -C "laptop" -N "" -f ./id_alice_$ns`
    And I reset the command list

  Scenario: Initial key names list is empty
    When I run `conjur pubkeys names alice@$ns`
    Then the stdout should contain exactly ""

  Scenario: After adding a key, the key name is shown
    Given I successfully run `conjur pubkeys add alice@$ns @id_alice_$ns.pub`
    And I reset the command list
    And I run `conjur pubkeys names alice@$ns`
    Then the stdout should contain exactly:
    """
    laptop\n
    """

  Scenario: After deleting the key, the key names list is empty again
    Given I successfully run `conjur pubkeys add alice@$ns @id_alice_$ns.pub`
    And I successfully run `conjur pubkeys delete alice@$ns laptop`
    And I reset the command list
    And I run `conjur pubkeys names alice@$ns`
    Then the stdout should contain exactly ""

Version data entries

18 entries across 18 versions & 1 rubygems

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