Skip to content

Add parameter and local config option to import tokens #1909

@einsibjarni

Description

@einsibjarni

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement of existing feature request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions