-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation for elastic-agent-cert-key-passphrase option #1413
Add documentation for elastic-agent-cert-key-passphrase option #1413
Conversation
A documentation preview will be available soon. Request a new doc build by commenting
If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here. |
This pull request does not have a backport label. Could you fix it @leehinman? 🙏
|
@leehinman Thanks a lot for adding this! I think we need to update the docs in a few spots. If you agree, and if you don't mind my adding a commit or two to your PR, I'll be happy to add these in:
Sorry to complicate things! :-) |
@kilfoyle please, add away. |
@@ -231,6 +231,7 @@ sudo ./elastic-agent install \ | |||
--fleet-server-port=8220 \ | |||
--elastic-agent-cert=/tmp/fleet-server.crt \ | |||
--elastic-agent-cert-key=/tmp/fleet-server.key \ | |||
--elastic-agent-cert-key-passphrase=/tmp/fleet-server ???? \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably a dumb question, but what would the path actually look like? I wasn't sure what file format the passphrase would have.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The passphrase file will just be a plain test file, so what you have is fine.
@leehinman I've added the setting description in the places I mentioned above. I included Example: Also, I had a question about the path example in my comment above. |
LGTM |
@@ -231,6 +231,7 @@ sudo ./elastic-agent install \ | |||
--fleet-server-port=8220 \ | |||
--elastic-agent-cert=/tmp/fleet-server.crt \ | |||
--elastic-agent-cert-key=/tmp/fleet-server.key \ | |||
--elastic-agent-cert-key-passphrase=/tmp/fleet-server/passphrase-file \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment thread seems to be gone, so just for reference I changed the ?????
to passphrase-file
for clarity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
Thanks a lot Lee!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
docs/en/ingest-management/elastic-agent/configuration/env/shared-env.asciidoc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Add documentation for elastic-agent-cert-key-passphrase option * Add the setting throughout the docs * Update docs/en/ingest-management/security/certificates.asciidoc * Update docs/en/ingest-management/commands.asciidoc * Update docs/en/ingest-management/commands.asciidoc * Update docs/en/ingest-management/elastic-agent/configuration/env/shared-env.asciidoc * Update docs/en/ingest-management/security/certificates.asciidoc --------- Co-authored-by: David Kilfoyle <[email protected]> Co-authored-by: David Kilfoyle <[email protected]> (cherry picked from commit f9b079d)
* Add documentation for elastic-agent-cert-key-passphrase option * Add the setting throughout the docs * Update docs/en/ingest-management/security/certificates.asciidoc * Update docs/en/ingest-management/commands.asciidoc * Update docs/en/ingest-management/commands.asciidoc * Update docs/en/ingest-management/elastic-agent/configuration/env/shared-env.asciidoc * Update docs/en/ingest-management/security/certificates.asciidoc --------- Co-authored-by: David Kilfoyle <[email protected]> Co-authored-by: David Kilfoyle <[email protected]> (cherry picked from commit f9b079d)
#1424) * Add documentation for elastic-agent-cert-key-passphrase option * Add the setting throughout the docs * Update docs/en/ingest-management/security/certificates.asciidoc * Update docs/en/ingest-management/commands.asciidoc * Update docs/en/ingest-management/commands.asciidoc * Update docs/en/ingest-management/elastic-agent/configuration/env/shared-env.asciidoc * Update docs/en/ingest-management/security/certificates.asciidoc --------- Co-authored-by: David Kilfoyle <[email protected]> Co-authored-by: David Kilfoyle <[email protected]> (cherry picked from commit f9b079d) Co-authored-by: Lee E Hinman <[email protected]>
#1425) * Add documentation for elastic-agent-cert-key-passphrase option * Add the setting throughout the docs * Update docs/en/ingest-management/security/certificates.asciidoc * Update docs/en/ingest-management/commands.asciidoc * Update docs/en/ingest-management/commands.asciidoc * Update docs/en/ingest-management/elastic-agent/configuration/env/shared-env.asciidoc * Update docs/en/ingest-management/security/certificates.asciidoc --------- Co-authored-by: David Kilfoyle <[email protected]> Co-authored-by: David Kilfoyle <[email protected]> (cherry picked from commit f9b079d) Co-authored-by: Lee E Hinman <[email protected]>
elastic/elastic-agent#5494 added support for the
--elastic-agent-cert-key-passphrase
option. This PR adds the missing user facing documentation.This option is only used if the
--elastic-agent-cert-key
is encrypted and requires a passphrase to use.