mirror of
https://github.com/docker/cli.git
synced 2026-08-25 10:05:26 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2518b52d94 | ||
|
|
9f18a0a70c | ||
|
|
2944fd1daa | ||
|
|
c41489ac39 |
@@ -75,8 +75,10 @@ Each request sent to the plugin includes the authenticated user, the HTTP
|
||||
headers, and the request/response body. Only the user name and the
|
||||
authentication method used are passed to the plugin. Most importantly, no user
|
||||
credentials or tokens are passed. Finally, not all request/response bodies
|
||||
are sent to the authorization plugin. Only those request/response bodies where
|
||||
the `Content-Type` is either `text/*` or `application/json` are sent.
|
||||
are sent to the authorization plugin. Only request/response bodies where
|
||||
the `Content-Type` is `application/json` are sent to the authorization plugin;
|
||||
bodies of any other `Content-Type` are not visible to the plugin and cannot
|
||||
be used for enforcement, even though the daemon may still act on this data.
|
||||
|
||||
For commands that can potentially hijack the HTTP connection (`HTTP
|
||||
Upgrade`), such as `exec`, the authorization plugin is only called for the
|
||||
|
||||
Reference in New Issue
Block a user