readme: added tip about default secrets

This commit is contained in:
David Allen 2025-03-31 16:06:16 -06:00 committed by David Allen
parent 38e22ff24c
commit 3074e7323a
Signed by: towk
GPG key ID: 0430CDBE22619155

View file

@ -259,6 +259,12 @@ If you pass agruments with the `--username/--password` flags, they will be used
> [!NOTE] > [!NOTE]
> Make sure that the `secretID` is EXACTLY as show with `magellan list`. Otherwise, `magellan` will not be able to do the lookup from the secret store correctly. > Make sure that the `secretID` is EXACTLY as show with `magellan list`. Otherwise, `magellan` will not be able to do the lookup from the secret store correctly.
> [!TIP]
> You can set default fallback credentials by storing a secret with the `secretID` of "default". This is used if no `secretID` is found in the local store for the specified host. Otherwise, the `--username/--password` arguments are used.
> ```bash
> magellan secrets default $username:$password
>
### Starting the Emulator ### Starting the Emulator
This repository includes a quick and dirty way to test `magellan` using a Redfish emulator with little to no effort to get running. This repository includes a quick and dirty way to test `magellan` using a Redfish emulator with little to no effort to get running.