-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 section on different ways to authenticate to the Prometheus API #1718
Conversation
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.
Thanks for adding this info! Left some feedback to consider.
monitoring/metrics.html.md
Outdated
fly token create readonly | ||
``` | ||
|
||
Note that the read-only token still has access to all organizations in your account (although it cannot modify anything, only read data). These two can be combined to create a read-only token that is restricted to a single organization: |
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 read-only token you create with fly token create readonly
is already an org scoped token, so you don't need to do this.
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.
Thanks, I'll remove this part entirely :)
I update it thus. Co-authored-by: Andrea Anderson <andrea@fly.io>
Co-authored-by: Andrea Anderson <andrea@fly.io>
Co-authored-by: Andrea Anderson <andrea@fly.io>
Co-authored-by: Andrea Anderson <andrea@fly.io>
Co-authored-by: Andrea Anderson <andrea@fly.io>
Summary of changes
This process is known internally and we share it with customers who require it but a customer pointed out it's not documented which makes it difficult to discover.