Skip to content

manaurum CLI 0.5.3

Latest

Choose a tag to compare

@sergeysuaib-ui sergeysuaib-ui released this 18 Oct 05:20
· 1 commit to main since this release
0ddf10b

manaurum CLI 0.5.3

Install (Python 3.11+):

pip install https://github.com/sergeysuaib-ui/manaurum-dev-sdk/releases/download/cli-v0.5.3/manaurum_cli-0.5.3-py3-none-any.whl

New: one machine, several tenants (named profiles)

A developer token belongs to one tenant. The CLI now keeps one token per profile, side by side:

manaurum --profile hq auth login --token mna_...      # stores a second tenant's token
manaurum --profile hq app deploy                      # acts as that tenant
export MANAURUM_PROFILE=hq                            # or choose it for a shell
manaurum auth profiles                                # list profiles (key ids only)

An existing single-token ~/.manaurum/config.json keeps working as the profile default. The file is now written atomically with owner-only permissions.

Fixed: the git credential helper uses the right tenant's token

manaurum app clone now records its profile in the clone, and the git credential helper answers with that profile's token, only for that profile's host. Before, git push inside a clone made with another profile sent the default profile's token. Every manaurum app ... command run inside a clone follows the clone's profile. --profile "" is now an error instead of silently using the default profile.

Changed: credentials are never uploaded

manaurum app deploy leaves out .env and .env.* (except .env.example, .env.sample, .env.template), *.pem and *.key at any depth and in any letter case, plus caches, and lists what it left out. Everything else is uploaded whatever .dockerignore says: the upload is the app's source of record, so a skipped file would be recorded as deleted. A committed .env.production, a public *.pem the Dockerfile copies or a *.key test fixture that 0.5.2 uploaded is recorded as deleted on the next deploy; rename it if the build needs it.