Comments (2)
@alanag13
Excellent thank you this is exactly what I needed.
from code42cli.
Hi @mbassett !
You should be able to force the use of the flat file for auth by providing some configuration to keyring. Try the following:
Run this and note the output:
python -c "import keyring.util.platform_; print(keyring.util.platform_.config_root())"
This will return a directory path. Create a file named keyringrc.cfg
in that directory with the following contents:
[backend]
default-keyring=keyrings.alt.file.PlaintextKeyring
To verify, you can start a python interactive shell:
python
>>> import keyring
>>> keyring.get_keyring()
This should output something like:
<PlaintextKeyring with no encyption v.1.0 at /<user-specific-dir-omitted>/python_keyring/keyring_pass.cfg>
Hope this helps!
from code42cli.
Related Issues (20)
- [Enhancement] Add functionality to legal-hold command HOT 6
- [Enhancement] Updating profile does not know to use the default profile when not specifying `-n` HOT 1
- [Enhancement] Support 2FA HOT 2
- [Enhancement] add Users command HOT 9
- [Enhancement] Adding license usage information to the users command HOT 4
- [Bug] Combining filter options in "devices list" leads to unexpected behavior HOT 1
- Add "orgs list" command HOT 3
- Enable support for going through proxy HOT 9
- [Enhancement] Getting started guide for admins starting from scratch HOT 2
- Add Push Restore Functionality to CLI
- [Bug] Issue with Running Code42Cli on-Prem solution HOT 5
- [Enhancement] Include hostname and username in bulk deactivations
- [Bug] Query submits with no groups if checkpoint is used with include-non-exposure
- [Enhancement] Add workaround for deadlock during bulk deactivation
- [Bug] - Code42 logo is out of date
- [Enhancement] Allow Legal Hold Custodian user list generation
- [Enhancement] Include device GUID info in users show command
- [Bug] CLI does not return the Last Completed Backup data
- [Enhancement] add ability to export additional details about users when doing `code42 users list`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code42cli.