-
Notifications
You must be signed in to change notification settings - Fork 50
Add documentation for cred store common values #157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,4 +1,3 @@ | ||
Sphinx >= 1.3.1 | ||
sphinx-rtd-theme >= 0.2.5b1 | ||
sphinxcontrib-napoleon >= 0.2.8 | ||
recommonmark >= 0.4.0 |
This file contains hidden or 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 hidden or 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,75 @@ | ||
Common Values for Credentials Store Extensions | ||
============================================== | ||
|
||
The credentials store extension is an extension introduced by the MIT krb5 | ||
library implementation of GSSAPI. It allows for finer control of creedntials | ||
from within a GSSAPI application. | ||
Each mechanism can define keywords to manipulate various aspects of their | ||
credentials for storage or retrieval operations. | ||
|
||
.. note: | ||
|
||
Only mechanisms that implement keywords can use them, some mechanism may | ||
share the same or similar keywords, but their meaning is always local to | ||
a specific mechanism. | ||
|
||
The krb5 mechanism in MIT libraries | ||
----------------------------------- | ||
|
||
The krb5 mechanism as implemented by MIT libraries supports the credentials | ||
store extension with a number of keywords. | ||
|
||
client_keytab | ||
""""""""""""" | ||
|
||
The `client_keytab` keyword can be used in a credential store when it is used | ||
with the :func:`gssapi.raw.ext_cred_store.acquire_cred_from` / | ||
:func:`gssapi.raw.ext_cred_store.add_cred_from` functions, to indicate a | ||
custom location for a keytab containing client keys. | ||
It is not used in the context of calls used to store credentials. | ||
The value is a string in the form **type:residual** where **type** can be any | ||
keytab storage type understood by the implementation and **residual** is the | ||
keytab identifier (usually something like a path). If the string is just a path | ||
then the type is defaulted to `FILE`. | ||
|
||
keytab | ||
"""""" | ||
|
||
The `keytab` keyword can be used in a credential store when it is used with | ||
the :func:`gssapi.raw.ext_cred_store.acquire_cred_from` / | ||
:func:`gssapi.raw.ext_cred_store.add_cred_from` functions, to indicate a | ||
custom location for a keytab containing service keys. | ||
It is not used in the context of calls used to store credentials. | ||
The value is a string in the form **type:residual** where **type** can be any | ||
keytab storage type understood by the implementation and **residual** is the | ||
keytab identifier (usually something like a path). If the string is just a path | ||
then the type is defaulted to `FILE`. | ||
|
||
ccache | ||
"""""" | ||
|
||
The `ccache` keyword can be used to reference a specific credential storage. | ||
It can be used both to indicate the source of existing credentials for the | ||
:func:`gssapi.raw.ext_cred_store.acquire_cred_from` / | ||
:func:`gssapi.raw.ext_cred_store.add_cred_from` functions, as well as the | ||
destination storage for the :func:`gssapi.raw.ext_cred_store.store_cred_into` | ||
function. | ||
The value is a string in the form **type:residual** where type can be any | ||
credential cache storage type understood by the implementation and | ||
**residual** is the ccache identifier. If the string is just a path then | ||
the type is defaulted to `FILE`. Other commonly used types are `DIR`, | ||
`KEYRING`, `KCM`. Each type has a different format for the **residual**; | ||
refer to the MIT krb5 documentation for more details. | ||
|
||
rcache | ||
"""""" | ||
|
||
The `rcache` keyword can be used to reference a custom replay cache storage. | ||
It is used only with the :func:`gssapi.raw.ext_cred_store.acquire_cred_from` / | ||
:func:`gssapi.raw.ext_cred_store.add_cred_from` functions for credentials used | ||
to accept context establishments, not to initiate contexts. | ||
The value is a string in the form **type:residual** where type can be any | ||
replay cache storage type understood by the implementation and **residual** is | ||
the cache identifier (usually something like a path). If the string is just a | ||
path then the type is defaulted to `FILE`. | ||
|
This file contains hidden or 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 hidden or 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,11 @@ | ||
Other Documentation | ||
=================== | ||
|
||
This section contain documentation that is not expressed directly in functions | ||
documentation, like implementation specific quirks or issues, implementation | ||
tips, environment influence on operations and similar. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
credstore.rst |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.