|
| 1 | +Common Values for Credentials Store Extensions |
| 2 | +============================================== |
| 3 | + |
| 4 | +The credentials store extension is an extension introduced by the MIT krb5 |
| 5 | +library implementation of GSSAPI. It allows for finer control of creedntials |
| 6 | +from within a GSSAPI application. |
| 7 | +Each mechanism can define keywords to manipulate various aspects of their |
| 8 | +credentials for storage or retrieval operations. |
| 9 | + |
| 10 | +.. note: |
| 11 | +
|
| 12 | + Only mechanisms that implement keywords can use them, some mechanism may |
| 13 | + share the same or similar keywords, but their meaning is always local to |
| 14 | + a specific mechanism. |
| 15 | +
|
| 16 | +The krb5 mechanism in MIT libraries |
| 17 | +----------------------------------- |
| 18 | + |
| 19 | +The krb5 mechanism as implemented by MIT libraries supports the credentials |
| 20 | +store extension with a number of keywords. |
| 21 | + |
| 22 | +client_keytab |
| 23 | +""""""""""""" |
| 24 | + |
| 25 | +The `client_keytab` keyword can be used in a credential store when it is used |
| 26 | +with the :func:`gssapi.raw.ext_cred_store.acquire_cred_from` / |
| 27 | +:func:`gssapi.raw.ext_cred_store.add_cred_from` functions, to indicate a |
| 28 | +custom location for a keytab containing client keys. |
| 29 | +It is not used in the context of calls used to store credentials. |
| 30 | +The value is a string in the form **type:residual** where **type** can be any |
| 31 | +keytab storage type understood by the implementation and **residual** is the |
| 32 | +keytab identifier (usually something like a path). If the string is just a path |
| 33 | +then the type is defaulted to `FILE`. |
| 34 | + |
| 35 | +keytab |
| 36 | +"""""" |
| 37 | + |
| 38 | +The `keytab` keyword can be used in a credential store when it is used with |
| 39 | +the :func:`gssapi.raw.ext_cred_store.acquire_cred_from` / |
| 40 | +:func:`gssapi.raw.ext_cred_store.add_cred_from` functions, to indicate a |
| 41 | +custom location for a keytab containing service keys. |
| 42 | +It is not used in the context of calls used to store credentials. |
| 43 | +The value is a string in the form **type:residual** where **type** can be any |
| 44 | +keytab storage type understood by the implementation and **residual** is the |
| 45 | +keytab identifier (usually something like a path). If the string is just a path |
| 46 | +then the type is defaulted to `FILE`. |
| 47 | + |
| 48 | +ccache |
| 49 | +"""""" |
| 50 | + |
| 51 | +The `ccache` keyword can be used to reference a specific credential storage. |
| 52 | +It can be used both to indicate the source of existing credentials for the |
| 53 | +:func:`gssapi.raw.ext_cred_store.acquire_cred_from` / |
| 54 | +:func:`gssapi.raw.ext_cred_store.add_cred_from` functions, as well as the |
| 55 | +destination storage for the :func:`gssapi.raw.ext_cred_store.store_cred_into` |
| 56 | +function. |
| 57 | +The value is a string in the form **type:residual** where type can be any |
| 58 | +credential cache storage type understood by the implementation and |
| 59 | +**residual** is the ccache identifier. If the string is just a path then |
| 60 | +the type is defaulted to `FILE`. Other commonly used types are `DIR`, |
| 61 | +`KEYRING`, `KCM`. Each type has a different format for the **residual**; |
| 62 | +refer to the MIT krb5 documentation for more details. |
| 63 | + |
| 64 | +rcache |
| 65 | +"""""" |
| 66 | + |
| 67 | +The `rcache` keyword can be used to reference a custom replay cache storage. |
| 68 | +It is used only with the :func:`gssapi.raw.ext_cred_store.acquire_cred_from` / |
| 69 | +:func:`gssapi.raw.ext_cred_store.add_cred_from` functions for credentials used |
| 70 | +to accept context establishments, not to initiate contexts. |
| 71 | +The value is a string in the form **type:residual** where type can be any |
| 72 | +replay cache storage type understood by the implementation and **residual** is |
| 73 | +the cache identifier (usually something like a path). If the string is just a |
| 74 | +path then the type is defaulted to `FILE`. |
| 75 | + |
0 commit comments