You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also specify the username and password when using the `publish` command
473
473
with the `--username` and `--password` options.
474
474
475
-
If a system keyring is available and supported, the password is stored to and retrieved from the keyring. In the above example, the credential will be stored using the name `poetry-repository-pypi`. If access to keyring fails or is unsupported, this will fall back to writing the password to the `auth.toml` file along with the username.
476
-
477
-
Keyring support is enabled using the [keyring library](https://pypi.org/project/keyring/). For more information on supported backends refer to the [library documentation](https://keyring.readthedocs.io/en/latest/?badge=latest).
478
-
479
-
If you do not want to use the keyring, you can tell Poetry to disable it and store the credentials in plaintext config files:
475
+
If a system keyring is available and supported, the password is stored to and retrieved from the keyring.
476
+
Otherwise, credentials are stored in plaintext config files.
477
+
In order to use keyring, you have to enable keyring support:
480
478
481
479
```bash
482
-
poetry config keyring.enabled false
480
+
poetry config keyring.enabled true
483
481
```
484
482
483
+
In the above example, the credential will be stored using the name `poetry-repository-pypi`.
484
+
If access to keyring is disabled, fails or is unsupported, this will fall back to writing the password to the `auth.toml` file along with the username.
485
+
486
+
Keyring support is enabled using the [keyring library](https://pypi.org/project/keyring/). For more information on supported backends refer to the [library documentation](https://keyring.readthedocs.io/en/latest/?badge=latest).
487
+
485
488
{{% note %}}
486
489
487
490
Poetry will fall back to Pip style use of keyring so that backends like
0 commit comments