Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 7dbca0b

Browse files
committed
Switch 1Password item category used in migration to API credential
API credential does not have any required fields and it fits better with most of the data stored in SecretHub.
1 parent 17f760e commit 7dbca0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internals/onepassword/onepassword.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func CreateItem(vault string, template *ItemTemplate, title string) error {
3030

3131
encodedTemplate := base64.RawURLEncoding.EncodeToString(jsonTemplate)
3232

33-
_, err = execOP("create", "item", "login", "--vault="+vault, encodedTemplate, "title="+title)
33+
_, err = execOP("create", "item", "apicredential", "--vault="+vault, encodedTemplate, "title="+title)
3434
return err
3535
}
3636

0 commit comments

Comments
 (0)