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

Missing commands to manage tokens for Prometheus metrics collection #4826

Open
sebastienbonami opened this issue Jan 17, 2024 · 0 comments
Open

Comments

@sebastienbonami
Copy link

sebastienbonami commented Jan 17, 2024

Expected behavior

Being able to simply create a token without generating a whole Prometheus scrape configuration. Also, being able to revoke tokens.

Actual behavior

The only way to save the value of a new token in an automated way (example with Terraform) is to run mc admin prometheus generate and extract the value of bearer_token from the output. Also after doing so, there's no way to revoke tokens that were created by that command.

Reference: mc admin prometheus — MinIO Object Storage for Linux

mc --version

mc version RELEASE.2024-01-16T16-06-34Z (commit-id=7484802005d75b2f078be373afbbd44106f8cc4b)
Runtime: go1.21.6 linux/amd64
Copyright (c) 2015-2024 MinIO, Inc.
License GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>

System information

Ubuntu 22.04.3 LTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants