Skip to content
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

Fix examples to use API key authentication #924

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

kilfoyle
Copy link
Contributor

@kilfoyle kilfoyle commented Feb 15, 2024

This makes a few small touch-ups to indicate that API key authentication is required on serverless, and generally recommended over basic auth. For the changes to the "debugging" example, I tested an agent policy and the resulting output from the elastic-agent inspect command to make sure that the updated formatting is correct.

I've also updated the API key generation to note that the UI path is slightly different in a serverless project.

The examples in the nginx monitoring tutorials were fixed separately.

Closes: #693

Copy link

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

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.

Copy link
Contributor

@karenzone karenzone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kilfoyle kilfoyle merged commit 52fddd0 into elastic:main Feb 15, 2024
4 checks passed
mergify bot pushed a commit that referenced this pull request Feb 15, 2024
mergify bot pushed a commit that referenced this pull request Feb 15, 2024
kilfoyle added a commit that referenced this pull request Feb 15, 2024
(cherry picked from commit 52fddd0)

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
kilfoyle added a commit that referenced this pull request Feb 15, 2024
(cherry picked from commit 52fddd0)

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change Username/Password references to API key
2 participants