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