github.com/Venafi/vcert/v5@v5.10.2/aruba/features/retire/retire.feature (about)

     1  Feature: certificate retirement
     2  
     3    As a user
     4    I want to retire certificates
     5  
     6    Background:
     7      And the default aruba exit timeout is 180 seconds
     8  
     9    Scenario Outline: retire certificate using empty -id
    10      When I retire the certificate from <endpoint>
    11      Then the output should contain "Certificate DN or Thumbprint is required to revoke the certificate"
    12  
    13      @TPP
    14      Examples:
    15      | endpoint  |
    16      | TPP       |
    17  
    18      @VAAS
    19      Examples:
    20      | endpoint  |
    21      | Cloud     |
    22  
    23  
    24    @TPP
    25    Scenario: retire certificate that does not exist in TPP
    26      When I retire the certificate from TPP with -id xxx
    27      Then it should fail with "object with DN xxx doesn't exist"
    28  
    29    @VAAS
    30    Scenario: retire certificate that does not exist in VaaS
    31      When I retire the certificate from Cloud with -id 'e9a98610-22aa-11ee-81be-3d121e6033c4'
    32      Then it should fail with "invalid thumbprint or certificate ID. No certificates were retired"
    33  
    34    Scenario Outline: retire certificate using -id flag
    35      Given I enroll random certificate from <endpoint> with -no-prompt
    36      And it should retrieve certificate
    37      When I retire the certificate from <endpoint> using the same Pickup ID
    38      Then the output should contain "Successfully retired certificate"
    39  
    40      @TPP
    41      Examples:
    42        | endpoint  |
    43        | TPP       |
    44  
    45      @VAAS
    46      Examples:
    47        | endpoint  |
    48        | Cloud     |
    49  
    50    Scenario Outline: retire certificate using -id file:*.txt flag
    51      Given I enroll random certificate from <endpoint> with -no-prompt -pickup-id-file p.txt
    52      And it should retrieve certificate
    53      Then I retire the certificate from <endpoint> with -id file:p.txt
    54  
    55      @TPP
    56      Examples:
    57        | endpoint  |
    58        | TPP       |
    59  
    60      @VAAS
    61      Examples:
    62        | endpoint  |
    63        | Cloud     |