You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: migration/cleanup-scripts/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
3
3
This is a collection of scripts that can help you clean up your 1Password account after performing a migration from LastPass.
4
4
5
-
> ⚠️**Warning**
6
-
> Currently, you must use version 2.21 or older of the 1Password CLI when running these scripts. Version 2.22 and newer introduced changes that prevent these scripts from performing as-expected. Download version 2.21 the 1Password website[here](https://app-updates.agilebits.com/product_history/CLI2#v2210002).
5
+
> 💡**NOTE**
6
+
> Many of these scripts require version 2.25 or newer of the 1Password CLI. Download the latest version[here](https://developer.1password.com/docs/cli/get-started).
"❌ You must be using version 2.25 or greater of the 1Password CLI. Please visit https://developer.1password.com/docs/cli/get-started to download the lastest version."
27
+
)
28
+
29
+
20
30
# Get a list of vaults the logged-in user has access to
21
31
# Skips any Private vaults and the Metadata vault.
22
32
# Fetches all vault details and returns them as a Python object
"❌ You must be using version 2.25 or greater of the 1Password CLI. Please visit https://developer.1password.com/docs/cli/get-started to download the lastest version."
13
+
)
3
14
4
15
5
16
defgetVaults():
6
17
try:
7
-
returnsubprocess.run("op vault list --group=Owners --format=json", shell=True, check=True, capture_output=True).stdout
8
-
except (Exception) aserr:
9
-
print(f"Encountered an error getting the list of vaults you have access to: ", err)
"❌ You must be using version 2.25 or greater of the 1Password CLI. Please visit https://developer.1password.com/docs/cli/get-started to download the lastest version."
23
+
)
24
+
25
+
14
26
# Get a list of vaults the logged-in user has access to
15
27
defgetVaults():
16
28
try:
17
-
returnsubprocess.run("op vault list --group=Owners --format=json", shell=True, check=True, capture_output=True).stdout
18
-
except (Exception) aserr:
19
-
print(f"Encountered an error getting the list of vaults you have access to: ", err)
Copy file name to clipboardExpand all lines: reporting/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
3
3
This directory provides a series of scripts demonstrating how to use the CLI to generate summary reports of vault access, contents, and permissions.
4
4
5
-
> ⚠️**Warning**
6
-
> Currently, you must use version 2.21 or older of the 1Password CLI when running these scripts. Version 2.22 and newer introduced changes that prevent these scripts from performing as-expected. Download version 2.21 the 1Password website[here](https://app-updates.agilebits.com/product_history/CLI2#v2210002).
5
+
> 💡**NOTE**
6
+
> Many of these scripts require version 2.25 or newer of the 1Password CLI. Download the latest version[here](https://developer.1password.com/docs/cli/get-started).
7
7
8
8
## User vault access reports
9
9
The following scripts provide information about people who are directly granted access to vaults. It does not include groups.
0 commit comments