-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to service device keys format (#220)
Following an internal ADR (Architecture Decision Record), I'm updating the non-interactive device registration and usage to a new format.
- Loading branch information
Corentin Mors
authored
Mar 15, 2024
1 parent
7cb091b
commit d71249b
Showing
4 changed files
with
47 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,14 +64,17 @@ This will create a new device named `my_server` and will print the device creden | |
Save them in a safe place (like in a secure note), as you won't be able to retrieve them later. | ||
Run the suggested commands on your target device (your server or CI) to set the device credentials as environment variables. | ||
|
||
```sh | ||
export DASHLANE_SERVICE_DEVICE_KEYS=dls_[deviceAccessKey]_[payload] | ||
``` | ||
|
||
On Windows, you can use the `set` command instead of `export`. | ||
|
||
```sh | ||
export DASHLANE_DEVICE_ACCESS_KEY=bdd5[..redacted..]6eb | ||
export DASHLANE_DEVICE_SECRET_KEY=99f7d9bd547c0[..redacted..]c93fa2118cdf7e3d0 | ||
export [email protected] | ||
export DASHLANE_MASTER_PASSWORD=<insert your master password here> | ||
set DASHLANE_SERVICE_DEVICE_KEYS=dls_[deviceAccessKey]_[payload] | ||
``` | ||
|
||
Please, replace `<insert your master password here>` with your actual master password. | ||
<Callout emoji="ℹ️">The token you'll get is starting by `dls` in order to be easily identified by scanning tools.</Callout> | ||
|
||
<Callout type="warning" emoji="⚠️"> | ||
OTP at each login and SSO are not supported for non-interactive devices. We recommend creating a dedicated Dashlane | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters