Sha256: 76d5f52056d1261288e30a5359cc157a5238b18dda5dc44871efebaca2cc323e

Contents?: true

Size: 932 Bytes

Versions: 11

Compression:

Stored size: 932 Bytes

Contents

Feature: List and manage authenticators

  Background:
    Given I run the code:
    """
    $conjur.load_policy 'root', <<-POLICY
    - !webservice conjur/authn-k8s/my-auth
    POLICY
    """

  Scenario: Authenticator list includes the authenticator status
    When I run the code:
    """
    $conjur.authenticator_list
    """
    Then the JSON should have "installed"
    And the JSON should have "configured"
    And the JSON should have "enabled"
    And the JSON at "enabled" should be ["authn"]

  Scenario: Enable and disable authenticator
    When I run the code:
    """
    $conjur.authenticator_enable("authn-k8s", "my-auth")
    $conjur.authenticator_list
    """
    Then the JSON at "enabled" should be ["authn", "authn-k8s/my-auth"]
    When I run the code:
    """
    $conjur.authenticator_disable("authn-k8s", "my-auth")
    $conjur.authenticator_list
    """
    Then the JSON at "enabled" should be ["authn"]

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
conjur-api-5.3.8.pre.194 features/authenticators.feature
conjur-api-5.3.7 features/authenticators.feature
conjur-api-5.3.7.pre.183 features/authenticators.feature
conjur-api-5.3.7.pre.168 features/authenticators.feature
conjur-api-5.3.7.pre.14 features/authenticators.feature
conjur-api-5.3.7.pre.167 features/authenticators.feature
conjur-api-5.3.6 features/authenticators.feature
conjur-api-5.3.5 features/authenticators.feature
conjur-api-5.3.4 features/authenticators.feature
conjur-api-5.3.3 features/authenticators.feature
conjur-api-5.3.2 features/authenticators.feature