From 963e63a3543a11c3d0b37ffe032343bbc8b2bcac Mon Sep 17 00:00:00 2001 From: Mikescops Date: Wed, 6 Dec 2023 13:54:23 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Dashlane?= =?UTF-8?q?/dashlane-cli@8368d87d872afade5bbffbe8533d0017990d7d6a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- .../_buildManifest.js | 0 .../_ssgManifest.js | 0 business.html | 4 ++-- business/audit-logs.html | 4 ++-- business/members.html | 4 ++-- business/reports.html | 4 ++-- guides.html | 4 ++-- index.html | 4 ++-- install.html | 4 ++-- logout.html | 4 ++-- personal.html | 4 ++-- personal/authentication.html | 4 ++-- personal/backup.html | 4 ++-- personal/devices.html | 4 ++-- personal/secrets/exec.html | 4 ++-- personal/secrets/inject.html | 4 ++-- personal/secrets/read.html | 4 ++-- personal/vault.html | 4 ++-- troubleshooting.html | 4 ++-- 20 files changed, 35 insertions(+), 35 deletions(-) rename _next/static/{OqXtP-0Q9GcoT_UoG7O4M => clhqOoSWt5dpd8tRlLjoA}/_buildManifest.js (100%) rename _next/static/{OqXtP-0Q9GcoT_UoG7O4M => clhqOoSWt5dpd8tRlLjoA}/_ssgManifest.js (100%) diff --git a/404.html b/404.html index 83165bcf..a23beaa6 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/OqXtP-0Q9GcoT_UoG7O4M/_buildManifest.js b/_next/static/clhqOoSWt5dpd8tRlLjoA/_buildManifest.js similarity index 100% rename from _next/static/OqXtP-0Q9GcoT_UoG7O4M/_buildManifest.js rename to _next/static/clhqOoSWt5dpd8tRlLjoA/_buildManifest.js diff --git a/_next/static/OqXtP-0Q9GcoT_UoG7O4M/_ssgManifest.js b/_next/static/clhqOoSWt5dpd8tRlLjoA/_ssgManifest.js similarity index 100% rename from _next/static/OqXtP-0Q9GcoT_UoG7O4M/_ssgManifest.js rename to _next/static/clhqOoSWt5dpd8tRlLjoA/_ssgManifest.js diff --git a/business.html b/business.html index 1d495698..cdb720fb 100644 --- a/business.html +++ b/business.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
Business
Get Started

Get started with Business Commands

+

Revoke credentials

💡
Needs to be authenticated as an admin to use this command.
-
dcli t credentials revoke <DASHLANE_TEAM_ACCESS_KEY>

Apache 2023 © Dashlane, Inc.
\ No newline at end of file +
dcli t credentials revoke <DASHLANE_TEAM_ACCESS_KEY>
Backup your local VaultAudit Logs
\ No newline at end of file diff --git a/business/audit-logs.html b/business/audit-logs.html index 67c4afca..cae8b72f 100644 --- a/business/audit-logs.html +++ b/business/audit-logs.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
Business
Audit Logs

Audit logs

+

Make sure to replace /path/to/script.sh with the actual path to the script. The other paths in the script are only examples and may not reflect the permissions of your system, you can change them to your needs.

-

Configure your SIEM agent to watch the logs.json file changes.


Apache 2023 © Dashlane, Inc.
\ No newline at end of file +

Configure your SIEM agent to watch the logs.json file changes.

Get StartedMembers
\ No newline at end of file diff --git a/business/members.html b/business/members.html index 0a28adcb..cdd20a68 100644 --- a/business/members.html +++ b/business/members.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
Business
Members

Listing members

+
Business
Members

Listing members

💡
Needs team credentials to use this command.

Fetching the list of members

Listing team members allows you to access many information about them, such as their email, their role, their 2FA status, their security score, etc.

@@ -28,4 +28,4 @@

The dates will be displayed in the ISO 8601 format.

Note that keys ending with Unix will be converted to human readable dates and renamed to remove the Unix suffix.

Members interface

-
PropertyTypeDescription
membersArray of objectArray of team members
members.userIdnumber | undefinedThe user identifier of the user
members.loginstringUser login (usually email)
members.statusstringMember status
members.joinedDateUnixnumber | nullThe join date of member in Unix time
members.lastUpdateDateUnixnumber | nullLast updated date of member in Unix time
members.isBillingAdminbooleanTrue if user is a billing admin, false otherwise
members.isTeamCaptainbooleanTrue if user is a team captain, false otherwise
members.isGroupManagerbooleanTrue if user is a group manager, false otherwise
members.emailstring | undefinedThe user's account email
members.isAccountCreatedboolean | undefinedIf user account is created
members.invitedDateUnixnumberDate user was invited
members.tokenobjectThe user's invite token
members.token.userIdnumber | undefinedUser identifier associated with the token
members.token.teamIdnumber | undefinedTeam identifier associated with the token
members.token.tokenstring | undefinedValue of the invite token
members.token.isFreshboolean | undefinedTrue if token is not used, false otherwise
members.token.inviteUserIdnumber | undefinedThe user identifier of the inviter
members.revokedDateUnixnumber | nullWhen user's account was revoked in Unix time
members.languagestring | undefinedUser's preferred language
members.nbrPasswordsnumber | nullNumber of passwords stored by user
members.reusednumber | nullNumber of reused passwords
members.reusedDistinctnumber | nullNumber of distinct reused passwords
members.weakPasswordsnumber | nullNumber of weak passwords
members.compromisedPasswordsnumber | nullNumber of compromised passwords
members.averagePasswordStrengthnumber | nullAverage password strength score
members.passwordStrength0_19Countnumber | nullNumber of passwords between 0 to 19 characters
members.passwordStrength20_39Countnumber | nullNumber of passwords between 20 to 39 characters
members.passwordStrength40_59Countnumber | nullNumber of passwords between 40 to 59 characters
members.passwordStrength60_79Countnumber | nullNumber of passwords between 60 to 79 characters
members.passwordStrength80_100Countnumber | nullNumber of passwords between 80 to 100 characters
members.safePasswordsnumber | nullNumber of passwords considered safe
members.namestring | nullUser's name
members.securityIndexnumber | nullSecurity index
members.twoFAInformationobject2FA information for the user
members.twoFAInformation.type'sso' | 'email_token' | 'totp_device_registration' | 'totp_login' | undefined2FA type
members.twoFAInformation.phonestring | nullPhone number for 2FA
members.twoFAInformation.lastUpdateDateUnixnumber | nullLast updated date of 2FA in Unix time
members.hasPublicKeybooleanTrue if user has a public key
billingAdminsArray of stringArray of emails of billing admins
pagenumberCurrent page of results
pagesnumberTotal pages of results

Apache 2023 © Dashlane, Inc.
\ No newline at end of file +
PropertyTypeDescription
membersArray of objectArray of team members
members.userIdnumber | undefinedThe user identifier of the user
members.loginstringUser login (usually email)
members.statusstringMember status
members.joinedDateUnixnumber | nullThe join date of member in Unix time
members.lastUpdateDateUnixnumber | nullLast updated date of member in Unix time
members.isBillingAdminbooleanTrue if user is a billing admin, false otherwise
members.isTeamCaptainbooleanTrue if user is a team captain, false otherwise
members.isGroupManagerbooleanTrue if user is a group manager, false otherwise
members.emailstring | undefinedThe user's account email
members.isAccountCreatedboolean | undefinedIf user account is created
members.invitedDateUnixnumberDate user was invited
members.tokenobjectThe user's invite token
members.token.userIdnumber | undefinedUser identifier associated with the token
members.token.teamIdnumber | undefinedTeam identifier associated with the token
members.token.tokenstring | undefinedValue of the invite token
members.token.isFreshboolean | undefinedTrue if token is not used, false otherwise
members.token.inviteUserIdnumber | undefinedThe user identifier of the inviter
members.revokedDateUnixnumber | nullWhen user's account was revoked in Unix time
members.languagestring | undefinedUser's preferred language
members.nbrPasswordsnumber | nullNumber of passwords stored by user
members.reusednumber | nullNumber of reused passwords
members.reusedDistinctnumber | nullNumber of distinct reused passwords
members.weakPasswordsnumber | nullNumber of weak passwords
members.compromisedPasswordsnumber | nullNumber of compromised passwords
members.averagePasswordStrengthnumber | nullAverage password strength score
members.passwordStrength0_19Countnumber | nullNumber of passwords between 0 to 19 characters
members.passwordStrength20_39Countnumber | nullNumber of passwords between 20 to 39 characters
members.passwordStrength40_59Countnumber | nullNumber of passwords between 40 to 59 characters
members.passwordStrength60_79Countnumber | nullNumber of passwords between 60 to 79 characters
members.passwordStrength80_100Countnumber | nullNumber of passwords between 80 to 100 characters
members.safePasswordsnumber | nullNumber of passwords considered safe
members.namestring | nullUser's name
members.securityIndexnumber | nullSecurity index
members.twoFAInformationobject2FA information for the user
members.twoFAInformation.type'sso' | 'email_token' | 'totp_device_registration' | 'totp_login' | undefined2FA type
members.twoFAInformation.phonestring | nullPhone number for 2FA
members.twoFAInformation.lastUpdateDateUnixnumber | nullLast updated date of 2FA in Unix time
members.hasPublicKeybooleanTrue if user has a public key
billingAdminsArray of stringArray of emails of billing admins
pagenumberCurrent page of results
pagesnumberTotal pages of results

Apache 2023 © Dashlane, Inc.
\ No newline at end of file diff --git a/business/reports.html b/business/reports.html index 070dfc5f..fb149c4f 100644 --- a/business/reports.html +++ b/business/reports.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
Business
Reports

Reports

+

Apache 2023 © Dashlane, Inc.
\ No newline at end of file + return file_path
MembersLogout
\ No newline at end of file diff --git a/guides.html b/guides.html index 8eff4bfc..a823f4d1 100644 --- a/guides.html +++ b/guides.html @@ -9,6 +9,6 @@ .dark { --nextra-primary-hue: 204deg; } -
Guides

Our guides in video

+

Apache 2023 © Dashlane, Inc.
\ No newline at end of file +

Apache 2023 © Dashlane, Inc.
\ No newline at end of file diff --git a/index.html b/index.html index 5e053b5c..0d2678f2 100644 --- a/index.html +++ b/index.html @@ -9,10 +9,10 @@ .dark { --nextra-primary-hue: 204deg; } -

Documentation

+

Apache 2023 © Dashlane, Inc.
\ No newline at end of file +

Apache 2023 © Dashlane, Inc.
\ No newline at end of file diff --git a/install.html b/install.html index 6c7e87a1..034621ec 100644 --- a/install.html +++ b/install.html @@ -9,11 +9,11 @@ .dark { --nextra-primary-hue: 204deg; } -
Install

Install

+
Install

Install

The Dashlane CLI can be installed in multiple ways. You can either install it using Homebrew (opens in a new tab) on macOS and Linux, manually with Yarn (opens in a new tab) or download the packaged executables for Windows, macOS and Linux on x64 architectures.

You can install the Dashlane CLI using Homebrew (opens in a new tab), a package manager for macOS and Linux.

To install Homebrew, run the following command in your terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Then you need to run the following command:

brew install dashlane/tap/dashlane-cli

The CLI is now installed on your machine, it will be updated automatically when a new version is released.

What's next?


Apache 2023 © Dashlane, Inc.
\ No newline at end of file +

Apache 2023 © Dashlane, Inc.
\ No newline at end of file diff --git a/logout.html b/logout.html index 30e80bd8..696855f2 100644 --- a/logout.html +++ b/logout.html @@ -9,8 +9,8 @@ .dark { --nextra-primary-hue: 204deg; } -
Logout

Logout

+

Apache 2023 © Dashlane, Inc.
\ No newline at end of file +

A confirmation will be asked, then the local database containing your encrypted data will be wiped and any entry related to the CLI will be removed from the OS keychain.


Apache 2023 © Dashlane, Inc.
\ No newline at end of file diff --git a/personal.html b/personal.html index 52b8c276..ab2111a7 100644 --- a/personal.html +++ b/personal.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
Personal
Get Started

Get started with Personal Commands

+

Apache 2023 © Dashlane, Inc.
\ No newline at end of file +

Apache 2023 © Dashlane, Inc.
\ No newline at end of file diff --git a/personal/authentication.html b/personal/authentication.html index f2f91e3e..c35cc293 100644 --- a/personal/authentication.html +++ b/personal/authentication.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
Personal
Authentication

Authentication

+

Apache 2023 © Dashlane, Inc.
\ No newline at end of file +
dcli configure save-master-password false

Apache 2023 © Dashlane, Inc.
\ No newline at end of file diff --git a/personal/backup.html b/personal/backup.html index 6e26a2f2..1d52ab91 100644 --- a/personal/backup.html +++ b/personal/backup.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
Personal
Backup your local Vault

Backup your local Vault

+
Personal
Backup your local Vault

Backup your local Vault

By using the backup command, you can backup your local vault to a given directory and filename. The command will perform a sync prior to the backup to ensure that the latest data is pulled from the Dashlane servers.

The backup is a sqlite3 (opens in a new tab) database file containing all your secrets encrypted by your master password.

@@ -23,4 +23,4 @@
  • device: contains the current device information and configuration (including your device secrets)
  • transactions: contains all the transactions that composed your vault (the type determines if the transaction is a password, a note, a credit card, etc.)
  • syncUpdates: contains the sync updates when the data was pulled from the Dashlane servers
  • -

    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file +

    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file diff --git a/personal/devices.html b/personal/devices.html index 443aef41..a8025786 100644 --- a/personal/devices.html +++ b/personal/devices.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
    Personal
    Managing your Devices

    Managing your devices

    +
    Personal
    Managing your Devices

    Managing your devices

    List your devices

    dcli devices list

    You'll get a list of all your devices, with their ID, name, and platform.

    @@ -43,4 +43,4 @@

    Please, replace <insert your master password here> with your actual master password.

    ⚠️

    OTP at each login and SSO are not supported for non-interactive devices. We recommend creating a dedicated Dashlane account for your non-interactive devices.

    -

    Once you've set the environment variables, you can use the CLI to retrieve passwords, otp and notes and no interactive prompts will be shown.


    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file +

    Once you've set the environment variables, you can use the CLI to retrieve passwords, otp and notes and no interactive prompts will be shown.


    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file diff --git a/personal/secrets/exec.html b/personal/secrets/exec.html index 7c851177..1ac1bf40 100644 --- a/personal/secrets/exec.html +++ b/personal/secrets/exec.html @@ -9,11 +9,11 @@ .dark { --nextra-primary-hue: 204deg; } -
    Personal
    Load secrets
    Load secrets into environment variables

    Load secrets into environment variables

    +
    Personal
    Load secrets
    Load secrets into environment variables

    Load secrets into environment variables

    The Dashlane CLI allows you to load secrets into environment variables. This is useful for example when you want to use secrets in your applications in development.

    By using secret references in your environment variables, you can load secrets from your Dashlane account into your environment variables and avoid having to store them in plain text in your code.

    Get your secret reference

    Follow the guide in Read secrets references to learn how to get your secret reference.

    It should look like this: dl://<secret_identifier>/<field>?<transformer>

    Export environment variables

    You can now export your secret reference into an environment variable :

    export GITLAB_TOKEN='dl://mygitlabtoken/password'

    Use your secret in your application

    In your code you can for instance read the variable from the env:

    app.js
    const token = process.env.GITLAB_TOKEN;
      
     console.log(token);

    Finally, you can use the dcli exec command to run your application with the environment variables loaded from your Dashlane account.

    dcli exec -- node app.js

    The stdin and stdout of your application will be piped to the terminal. -Every environment variable that starts with dl:// will be replaced by the secret value from your Dashlane account.


    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file +Every environment variable that starts with dl:// will be replaced by the secret value from your Dashlane account.


    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file diff --git a/personal/secrets/inject.html b/personal/secrets/inject.html index d66ec397..7ccadc6e 100644 --- a/personal/secrets/inject.html +++ b/personal/secrets/inject.html @@ -9,11 +9,11 @@ .dark { --nextra-primary-hue: 204deg; } -
    Personal
    Load secrets
    Load secrets into templated files

    Load secrets into templated files

    +
    Personal
    Load secrets
    Load secrets into templated files

    Load secrets into templated files

    Using Dashlane CLI you can inject secrets into templated files. This is useful for example to inject secrets into configuration files and avoid storing secrets in your repository.

    Get your secret reference

    Follow the guide in Read secrets references to learn how to get your secret reference.

    It should look like this: dl://<secret_identifier>/<field>?<transformer>

    Use secret references in your config file

    In your template config file, use the secret reference as a placeholder for the value you want to inject.

    The secret reference must be enclosed in double curly braces {{ }}.

    For instance, let's create a template config file for a fictive API:

    config.yaml.template
    api:
         url: https://api.example.com
         port: 443
    -    access_token: '{{ dl://<secret_identifier>/<field> }}'

    Inject secrets into your config file

    Use the dcli inject command to inject secrets into your config file.

    Inject secrets into config file
    dcli inject --in config.yaml.template --out config.yaml

    In output file, the secret reference is replaced by the plaintext secret value.

    Dashlane CLI inject secret

    ️🚫

    Make sure to delete the resolved config file if you no longer need it.


    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file + access_token: '{{ dl://<secret_identifier>/<field> }}'

    Inject secrets into your config file

    Use the dcli inject command to inject secrets into your config file.

    Inject secrets into config file
    dcli inject --in config.yaml.template --out config.yaml

    In output file, the secret reference is replaced by the plaintext secret value.

    Dashlane CLI inject secret

    ️🚫

    Make sure to delete the resolved config file if you no longer need it.

    \ No newline at end of file diff --git a/personal/secrets/read.html b/personal/secrets/read.html index 6793c478..f537d179 100644 --- a/personal/secrets/read.html +++ b/personal/secrets/read.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
    Personal
    Load secrets
    Read secrets references

    Read secrets references

    +

    Note: Accessing a secret with the secret identifier is faster than using the title of the secret as it does not require to decrypt the whole vault.

    -

    Dashlane CLI read otp


    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file +

    Dashlane CLI read otp

    Accessing your VaultLoad secrets into environment variables
    \ No newline at end of file diff --git a/personal/vault.html b/personal/vault.html index cbe38cb2..b725e290 100644 --- a/personal/vault.html +++ b/personal/vault.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
    Personal
    Accessing your Vault

    Accessing your Vault

    +

    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file +
    dcli n SSH_DEMO_KEY | ssh-add -

    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file diff --git a/troubleshooting.html b/troubleshooting.html index f8ce2ce1..9f1b0079 100644 --- a/troubleshooting.html +++ b/troubleshooting.html @@ -9,7 +9,7 @@ .dark { --nextra-primary-hue: 204deg; } -
    Troubleshooting

    Troubleshooting

    +

    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file +

    See the issue #46 (opens in a new tab).


    Apache 2023 © Dashlane, Inc.
    \ No newline at end of file