Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Anitta
7 months agoNew Contributor
How do I export only Vault and password metadata
We have a use case where we want to export the following fields: vault uid, vault name, password uid, password name Users assigned to vaults We DONOT want to export the password in plaintext t...
- 7 months ago
So I don't know if anyone will ever need to do this because after looking through various options, we found a way to get a onetime dump of information we needed using a token of a service account that has rights on all the vaults of interest and the following commands
export OP_SERVICE_ACCOUNT_TOKEN=<Service account token> op item list --format json| jq -r '["password_id","password_name","vault_id", "vault_name"], (.[] |[.id, .title, .vault."id", .vault."name"]) | @csv' > items.csv
And then we uploaded the returned information into a datatable which we can use in rules and queries in Chronicle.
We then deleted the token and service account because it was too permissive
Anitta
7 months agoNew Contributor
So I don't know if anyone will ever need to do this because after looking through various options, we found a way to get a onetime dump of information we needed using a token of a service account that has rights on all the vaults of interest and the following commands
export OP_SERVICE_ACCOUNT_TOKEN=<Service account token>
op item list --format json| jq -r '["password_id","password_name","vault_id", "vault_name"], (.[] |[.id, .title, .vault."id", .vault."name"]) | @csv' > items.csv
And then we uploaded the returned information into a datatable which we can use in rules and queries in Chronicle.
We then deleted the token and service account because it was too permissive