Tags: nais/cli
Tags
fix(grant_access): correctly pass arguments to new commands Also: - refactor some business code for simplicity/separation of concerns. - fix mise Co-authored-by: @sindrerh2 <sindre.rodseth.hansen@nav.no> Co-authored-by: @ybelMekk <youssef.bel.mekki@nav.no>
fix(naisapi/auth): store credentials in encrypted file instead of key… …ring This changes nais-cli to store session credentials as an encrypted file instead of storing the entire session in the keyring. As the session includes tokens of varying length, the value may exceed limits imposed by credential managers on various systems, most notably Windows with a limit of around 2560 bytes. By generating an encryption key and only storing that in the keyring, we circumvent these size limitations. New keys are generated and stored in the keyring every time the credential file is encrypted and written to disk.
PreviousNext