Sha256: 70cf3b05a659c9f1465f8a167bc9bad4a25b3b6c407cd68c8a395434d71b1a2d

Contents?: true

Size: 957 Bytes

Versions: 22

Compression:

Stored size: 957 Bytes

Contents

Feature: Create a User

  Scenario: Create a passwordless user
    When I successfully run `conjur user create alice-without-password@$ns`
    And the JSON should have "api_key"
 
  Scenario: Create a user with a password
    When I run `conjur user create -p alice-with-password@$ns` interactively
    And I type "foobar"
    And I type "foobar"
    Then the exit status should be 0
    And the JSON should have "api_key"

  Scenario: Create a user owned by the security_admin group
    When I successfully run `conjur user create --as-group $ns/security_admin alice-without-password@$ns`
    And I keep the JSON response at "ownerid" as "OWNERID"
    Then the output should contain "/security_admin"
 
  Scenario: Some characters are disallowed in user ids, such as /
    When I run `conjur user create alice/$ns`
    Then the exit status should be 1
    And the stderr should contain "error: 403 Forbidden"
    And the stdout should not contain anything

Version data entries

22 entries across 22 versions & 1 rubygems

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