dotaz na zkusenejsi - nase security s odkazem na standarty vyzaduje, aby autentizacni credentials nelezely v plaintextu na disku. to dava smysl, ne? zadny hesla v textaku na plose
ale situace - mame privatni repozitare (docker, pypi, npm, ...). uzivatel si musi vygenerovat access token, aby z nich mohl stahovat artefakty
`~/.pip/pip.conf`; `.docker/config.json`; `~/.npmrc` - aby tem toolum fungoval auth, vsechny si ukladaji pristupove credentials v plaintextu.
ofc,
- soubory maji standardni chmod 600, aby se omezily access prava. ale porad jsou to credentials v plaintextu
- jsou realizovany kroky, aby produkce obsahovala pouze funkcni artefakty a ne tyhle configy. (e.g. pouziti secrets pri docker build, ...)
ale jak muze byt libovolna z tehle technologii compliant at uz u developera nebo na build serveru?
viz napr.
ISO 27001:2022 A. 8.5 Secure authentication
Secure log on should be designed so it cannot be easily circumvented and that any authentication information is transmitted and stored encrypted to prevent interception and misuse.(ano, minimalne docker ma
support pro credentials store. a hned na te stejne strance posilaji heslo z textaku pres pipe na stdin :D )