Sha256: 5a161e6407564c98f5a59723d73f9d2c2c1a629f2c423f5a21786add90de53d7

Contents?: true

Size: 548 Bytes

Versions: 5

Compression:

Stored size: 548 Bytes

Contents

Feature: Show public keys for a user

  Background:
    Given I load the policy:
    """
    - !user
      id: alice
      public_keys:
      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQ laptop
    """

  Scenario: After adding a key, the key is shown
    When I run `conjur pubkeys show alice`
    And the output should match /^ssh-rsa .* laptop$/

  Scenario: Public keys can be listed using cURL, without authentication
    When I successfully run `curl -k $conjur_url/public_keys/cucumber/user/alice`
    Then the output should match /^ssh-rsa .* laptop$/

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
conjur-cli-6.2.0 features/pubkeys/show.feature
conjur-cli-6.1.0 features/pubkeys/show.feature
conjur-cli-6.0.1 features/pubkeys/show.feature
conjur-cli-6.0.0 features/pubkeys/show.feature
conjur-cli-6.0.0.rc1 features/pubkeys/show.feature