What the secret is for, such as a host name or a Spoon's name. Can't be empty.
Whose secret it is, such as a user name. Can't be empty.
The secret itself
Optionaloptions: How to store the secret
Optionalcomment?: stringA note about the secret, shown by items()
Optionallabel?: stringA name for the secret, shown by items()
OptionalrequireUserPresence?: booleanAsk you to authenticate (with Touch ID, an Apple Watch, or your password) each time the secret is read. Such secrets aren't listed by items(), but can be replaced and removed without authenticating. Defaults to false.
Optionalsynchronizable?: booleanSync the secret to your other Macs through iCloud Keychain. Defaults to false. Can't be combined with requireUserPresence.
Store a secret, replacing any secret already stored for the same service and account.