xref: /curl/docs/cmdline-opts/delegation.md (revision e7219c2b)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: delegation
5Arg: <LEVEL>
6Help: GSS-API delegation permission
7Protocols: GSS/kerberos
8Category: auth
9Added: 7.22.0
10Multi: single
11See-also:
12  - insecure
13  - ssl
14Example:
15  - --delegation "none" $URL
16---
17
18# `--delegation`
19
20Set LEVEL what curl is allowed to delegate when it comes to user credentials.
21
22## none
23Do not allow any delegation.
24
25## policy
26Delegates if and only if the OK-AS-DELEGATE flag is set in the Kerberos
27service ticket, which is a matter of realm policy.
28
29## always
30Unconditionally allow the server to delegate.
31