-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
105 additions
and
139 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
Added support to OAuth2 flow as authentication method. | ||
Added support to OAuth2 ClientCredentials grant flow as authentication method. | ||
This is tech preview and may change without previous warning. |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
* [Using the CLI](using_the_cli.md) | ||
* [Supported Workflows](supported_workflows.md) | ||
* [Authentication Methods](authentication.md) |
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,15 @@ | ||
# Supported Authentication Methods | ||
|
||
Pulp-CLI support some authentication methods to authenticate against a Pulp instance. | ||
Some very simple and common, like HTTP Basic Auth, and some more complex like OAuth2. | ||
|
||
## OAuth2 ClientCredentials grant | ||
|
||
!!! warning | ||
This is an experimental feature. The support of it could change without any major warning. | ||
|
||
More on https://datatracker.ietf.org/doc/html/rfc6749#section-4.4 | ||
|
||
Using this method the pulp-cli can request a token from an Identity Provider using a pair of | ||
credentials (client_id/client_secret). The token is ten sent through using the `Authorization` header. | ||
The issuer URL and the scope of token must be specified by the Pulp server through the OpenAPI scheme definition. |
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.