diff options
author | kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> | 2024-11-11 09:34:39 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-11 16:34:39 +0100 |
commit | b803dabb2c28e93c41f62977c65aad385594b8f9 (patch) | |
tree | 3113928d65dff253664333187c0d45d18ed3e4bc /pyproject.toml | |
parent | 33dd894eff169b78103fb7bb5e2b6ebe62cd3916 (diff) | |
download | spack-b803dabb2c28e93c41f62977c65aad385594b8f9.tar.gz spack-b803dabb2c28e93c41f62977c65aad385594b8f9.tar.bz2 spack-b803dabb2c28e93c41f62977c65aad385594b8f9.tar.xz spack-b803dabb2c28e93c41f62977c65aad385594b8f9.zip |
mirrors: allow username/password as environment variables (#46549)
`spack mirror add` and `set` now have flags `--oci-password-variable`, `--oci-password-variable`, `--s3-access-key-id-variable`, `--s3-access-key-secret-variable`, `--s3-access-token-variable`, which allows users to specify an environment variable in which a username or password is stored.
Storing plain text passwords in config files is considered deprecated.
The schema for mirrors.yaml has changed, notably the `access_pair` list is generally replaced with a dictionary of `{id: ..., secret_variable: ...}` or `{id_variable: ..., secret_variable: ...}`.
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions