mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
readme: updated information about default secrets
This commit is contained in:
parent
ad30eb297d
commit
738685095f
1 changed files with 3 additions and 3 deletions
|
|
@ -254,16 +254,16 @@ magellan collect \
|
|||
--password $default_bmc_password
|
||||
```
|
||||
|
||||
If you pass agruments with the `--username/--password` flags, they will be used as a fallback if no credentials are found in the store. However, the secret store credentials are always used first if they exists.
|
||||
If you pass arguments with the `--username/--password` flags, the arguments will override all credentials set in the secret store for each flag. However, it is possible only override a single flag (e.g. `magellan collect --username`).
|
||||
|
||||
> [!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.
|
||||
|
||||
> [!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.
|
||||
> 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. This is useful when you want to set a username and password that is the same for all BMCs with the exception of the ones specified.
|
||||
> ```bash
|
||||
> magellan secrets default $username:$password
|
||||
>
|
||||
> ```
|
||||
|
||||
### Starting the Emulator
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue