Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
3 years agoChange the Default Autofill Behavior
Almost all of our passwords (part of a business account with ~12 people) need to use the "Only fill on this exact domain" autofill option, so it would be nice if that could be set as the default.
...
lembregtse
4 months agoNew Contributor
Also +1 for this feature request, being able to change the default in the client would make a lot of sense for a lot of companies.
For anyone taking a look here, you can now use the onepassword-sdk to update autofill behavior of items.
E.g.: when you have fetched an item from a vault you can do:
for w in item.websites:
if getattr(w, "autofill_behavior", None) != AutofillBehavior.EXACTDOMAIN:
w.autofill_behavior = AutofillBehavior.EXACTDOMAIN
updated = await client.items.put(item=item)And then update the item. And it will change the autofill behavior.