Explorar o código

Merge pull request #21661 from twistlock/client_cert_auth_docs

Add short description about default authentication method in authorization docs
David Calavera %!s(int64=9) %!d(string=hai) anos
pai
achega
ea7d2192e2
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      docs/extend/plugins_authorization.md

+ 5 - 0
docs/extend/plugins_authorization.md

@@ -49,6 +49,11 @@ Each plugin must reside within directories described under the
 **Note**: the abbreviations `AuthZ` and `AuthN` mean authorization and authentication
 respectively.
 
+## Default user authorization mechanism
+
+If TLS is enabled in the [Docker daemon](https://docs.docker.com/engine/security/https/), the default user authorization flow extracts the user details from the certificate subject name.
+That is, the `User` field is set to the client certificate subject common name, and the `AuthenticationMethod` field is set to `TLS`.
+
 ## Basic architecture
 
 You are responsible for registering your plugin as part of the Docker daemon