All Downloads are FREE. Search and download functionalities are using the official Maven repository.

features.directory_client.services.public_keys.directory-client-service-public-keys-remove.feature Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
Feature: Directory clients can remove Directory Service Public Keys
  In order to manage the Public Keys in the Directory Service Public Key rotation
  As a Directory client
  I can remove a Public Key from a Directory Service

  Background:
    Given I created a Directory
    And I created a Directory Service
    And I added a Public Key to the Directory Service

  Scenario: Removing Public Key actually removes from list
    Given I added another Public Key to the Directory Service
    When I remove the current Directory Service Public Key
    And I retrieve the current Directory Service's Public Keys
    Then the last current Directory Service's Public Key is not in the list

  Scenario: Removing the last Public Key throws LastRemainingKey exception
    When I attempt to remove the current Directory Service Public Key
    Then a LastRemainingKey error occurs

  Scenario: Attempting to update a Public Key for an invalid Service throws a Forbidden exception
    When I attempt to remove a Public Key from the Directory Service with the ID "eba60cb8-c649-11e7-abc4-cec278b6b50a"
    Then a Forbidden error occurs

  Scenario: Attempting to update an invalid Public Key for a Service throws a Forbidden exception
    When I attempt to remove a Public Key identified by "aa:bb:cc:dd:ee:ff:11:22:33:44:55:66:77:88:99:00" from the Directory Service
    Then a PublicKeyDoesNotExist error occurs




© 2015 - 2025 Weber Informatics LLC | Privacy Policy