Sha256: 73d3de26f4eded5053f0d9b5e8b13b7f8431c99644953d51503f39c534e81488
Contents?: true
Size: 867 Bytes
Versions: 18
Compression:
Stored size: 867 Bytes
Contents
Feature: Register a public key 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: Register a public key file for a user When I run `conjur pubkeys add alice@$ns @id_alice_$ns.pub` Then the exit status should be 0 Scenario: You can't accidentally register the private key When I run `conjur pubkeys add alice@$ns @id_alice_$ns` Then the exit status should be 1 And the stderr should contain "Unprocessable Entity" Scenario: Unauthorized users cannot modify public keys Given I login as new user "bob@$ns" And I reset the command list And I run `conjur pubkeys add alice@$ns @id_alice_$ns.pub` Then the exit status should be 1 And the stderr should contain "Forbidden"
Version data entries
18 entries across 18 versions & 1 rubygems