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

Add parameter and local config option to import tokens #1909

Open
einsibjarni opened this issue Aug 31, 2023 · 0 comments
Open

Add parameter and local config option to import tokens #1909

einsibjarni opened this issue Aug 31, 2023 · 0 comments
Labels
enhancement Improvement of existing feature request

Comments

@einsibjarni
Copy link

Request details

Using automation to deploy reposilite now is hampered by the fact that persistent tokens can only be created through the cli.

I like to write an ansible playbook that deploys services, and when there are changes, I update the playbook and re-run it.

As it stands, the only way to do that with reposilite is to add --token to command line, so it always starts up with the same temporary token (parameter shows up in process list, unless I further obfuscate with env variable) or using expect (complicated, ansible would have to shut down the service, run the service interactively and then use expect to run the token-import command)

I wish I could use ansible to generate tokens.json and then add a parameter or config option to always have reposilite flush it's tokens and import from the file

@dzikoysk dzikoysk added enhancement Improvement of existing feature request and removed triage labels Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature request
Projects
None yet
Development

No branches or pull requests

2 participants