-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add audmodle-internal S3 repo to defaults (#6)
- Loading branch information
Showing
6 changed files
with
102 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,41 @@ | ||
Authentication | ||
============== | ||
|
||
Users have to store their credentials in :file:`~/.artifactory_python.cfg`: | ||
To download or publish a model, | ||
a user has to authenticate. | ||
|
||
Credentials for the ``models-local`` repository | ||
on Artifactory | ||
are stored in ``~/.artifactory_python.cfg``: | ||
|
||
.. code-block:: cfg | ||
[artifactory.audeering.com/artifactory] | ||
username = MY_USERNAME | ||
password = MY_API_KEY | ||
Alternatively, they can export them as environment variables: | ||
Alternatively, | ||
they can export them as environment variables: | ||
|
||
.. code-block:: bash | ||
export ARTIFACTORY_USERNAME="MY_USERNAME" | ||
export ARTIFACTORY_API_KEY="MY_API_KEY" | ||
Credentials for the ``audmodel-internal`` repository | ||
on S3 | ||
are stored in ``~/.config/audbackend/minio.cfg``: | ||
|
||
.. code-block:: cfg | ||
[s3.dualstack.eu-north-1.amazonaws.com] | ||
access_key = MY_ACCESS_KEY | ||
secret_key = MY_SECRET_KEY | ||
Alternatively, | ||
users can export them as environment variables: | ||
|
||
.. code-block:: bash | ||
export MINIO_ACCESS_KEY="MY_ACCESS_KEY" | ||
export MINIO_SECRET_KEY="MY_SECRET_KEY" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters