-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from Venafi/master-VEN-53611-obtain-new-token
Master ven 53611 obtain new token
- Loading branch information
Showing
25 changed files
with
618 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Feature: Getting credentials tokens from TPP | ||
|
||
As a user | ||
I want to get credentials tokens from TPP | ||
|
||
Background: | ||
Given the default aruba exit timeout is 180 seconds | ||
|
||
Scenario: request refresh token and refresh access token | ||
When I get credentials from TPP | ||
And I remember the output | ||
And it should output access token | ||
And it should output refresh token | ||
Then I refresh access token | ||
And I remember the output | ||
And it should output access token | ||
And it should output refresh token | ||
|
||
Scenario: request refresh token in json format | ||
When I get credentials from TPP with -format json | ||
And I remember the output | ||
And it should output access token in JSON | ||
And it should output refresh token in JSON | ||
|
||
Scenario: request with PKCS12 if possible | ||
When I get credentials from TPP with PKSC12 | ||
And I remember the output | ||
And it should output access token | ||
And it should output refresh token | ||
|
||
Scenario: request with PKCS12 if possible with no password | ||
When I interactively get credentials from TPP with PKSC12 and no password | ||
And I type "newPassw0rd!" | ||
And I remember the output | ||
And it should output access token | ||
And it should output refresh token | ||
|
||
Scenario: request refresh token and refresh access token with username and no password | ||
When I interactively get credentials from TPP with username and no password | ||
And I remember the output | ||
And it should output access token | ||
And it should output refresh token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.