Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify use for shared_credential_file (#20929)
When starting beats as a service, the PID will be owned by the user that manages the service. This would be root in most cases. Users tend to run tests as non-root, running beats directly (./metricbeat) on the command line. Without the shared_credential_file path the beat checks for credentials under the user's home directory. When starting beats as a service, the home directory of the user managing the service (typically root) is different than what was being used in testing and development, which can be hard to figure out.
- Loading branch information