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

Make location of credentials file configurable #615

Open
randomir opened this issue Apr 10, 2024 · 0 comments
Open

Make location of credentials file configurable #615

randomir opened this issue Apr 10, 2024 · 0 comments
Labels

Comments

@randomir
Copy link
Member

Currently, dwave.cloud.auth.flow.AuthFlow will use Credentials backed by a file (created) next to the most-specific dwave config file. Typically, config file will be in ~/.config/dwave/dwave.conf, and credentials will be stored right next to it in ~/.config/dwave/credentials.db.

If no config file is present on disk, credentials are stored in the default user config file location (see dwave.cloud.config.get_default_configfile_path).

We need to either generalize DWAVE_CONFIG_FILE semantics to include credentials, or introduce a new variable.

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

No branches or pull requests

1 participant