xref: /aosp_15_r20/external/curl/docs/cmdline-opts/delegation.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: delegation
5*6236dae4SAndroid Build Coastguard WorkerArg: <LEVEL>
6*6236dae4SAndroid Build Coastguard WorkerHelp: GSS-API delegation permission
7*6236dae4SAndroid Build Coastguard WorkerProtocols: GSS/kerberos
8*6236dae4SAndroid Build Coastguard WorkerCategory: auth
9*6236dae4SAndroid Build Coastguard WorkerAdded: 7.22.0
10*6236dae4SAndroid Build Coastguard WorkerMulti: single
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - insecure
13*6236dae4SAndroid Build Coastguard Worker  - ssl
14*6236dae4SAndroid Build Coastguard WorkerExample:
15*6236dae4SAndroid Build Coastguard Worker  - --delegation "none" $URL
16*6236dae4SAndroid Build Coastguard Worker---
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard Worker# `--delegation`
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard WorkerSet LEVEL what curl is allowed to delegate when it comes to user credentials.
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard Worker## none
23*6236dae4SAndroid Build Coastguard WorkerDo not allow any delegation.
24*6236dae4SAndroid Build Coastguard Worker
25*6236dae4SAndroid Build Coastguard Worker## policy
26*6236dae4SAndroid Build Coastguard WorkerDelegates if and only if the OK-AS-DELEGATE flag is set in the Kerberos
27*6236dae4SAndroid Build Coastguard Workerservice ticket, which is a matter of realm policy.
28*6236dae4SAndroid Build Coastguard Worker
29*6236dae4SAndroid Build Coastguard Worker## always
30*6236dae4SAndroid Build Coastguard WorkerUnconditionally allow the server to delegate.
31