Sha256: 8c096e5b8aa6190bf21363e9147df92eef7c085e527993b008f1af5d5430203a

Contents?: true

Size: 1.17 KB

Versions: 18

Compression:

Stored size: 1.17 KB

Contents

Feature: Show public keys 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 list is empty
    When I run `conjur pubkeys show alice@$ns`
    Then the stdout should contain exactly "\n"

  Scenario: After adding a key, the key is shown
    Given I successfully run `conjur pubkeys add alice@$ns @id_alice_$ns.pub`
    And I run `conjur pubkeys show alice@$ns`
    And the output should match /^ssh-rsa .* laptop$/

  Scenario: After deleting the key, the key 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 show alice@$ns`
    Then the stdout should contain exactly "\n"

  Scenario: Public keys can be listed using cURL, without authentication
    Given I successfully run `conjur pubkeys add alice@$ns @id_alice_$ns.pub`
    When I successfully run `curl -k $pubkeys_url/alice@$ns`
    Then the output should match /^ssh-rsa .* laptop$/

Version data entries

18 entries across 18 versions & 1 rubygems

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