1

How can I change the kind of a Keychain item?

I'd prefer to do this via a GUI, command line (if no GUI), then lastly code (if no GUI or command line tool).

1
1

You can't directly change the kind of a Keychain item because item details use different schemas.

  generic        internet
  ═══════        ════════
  account ────── account
  creator ────── creator
  type    ────── type
  kind    ───┐  ★domain
 ★value      └── kind
  comment ────── comment
  label   ────── label
 ★service       ★path
  password───┐   port
             │  ★protocol
             │  ★server
             │  ★authenticationType
             └── password

You'll need to read out the information for the item you want to change, then create a new item with the new values where applicable.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .