diff --git a/_security-plugin/access-control/impersonation.md b/_security-plugin/access-control/impersonation.md index 82966389..100d1104 100644 --- a/_security-plugin/access-control/impersonation.md +++ b/_security-plugin/access-control/impersonation.md @@ -41,8 +41,8 @@ plugins.security.authcz.impersonation_dn: ## Impersonating Users -To impersonate another user, submit a request to the system with the HTTP header `opensearch_security_impersonate_as` set to the name of the user to be impersonated. A good test is to make a GET request to the `_plugins/_security/authinfo` URI: +To impersonate another user, submit a request to the system with the HTTP header `opendistro_security_impersonate_as` set to the name of the user to be impersonated. A good test is to make a GET request to the `_plugins/_security/authinfo` URI: ```bash -curl -XGET -u 'admin:admin' -k -H "opensearch_security_impersonate_as: user_1" https://localhost:9200/_plugins/_security/authinfo?pretty +curl -XGET -u 'admin:admin' -k -H "opendistro_security_impersonate_as: user_1" https://localhost:9200/_plugins/_security/authinfo?pretty ```