Keychain Trait (keyc)

Trait for managing a cryptographic keychain.

AttributeValue
Idtag:google.com,2018:m2m:traits:keychain:v1:v0#r0
Short-Idkeyc
Has-Childrenyes

Metadata Properties

NameKeyRWReqDescription
TraitURIm/keyc/turiXXThe URI that uniquely identifies the specification used to implement this trait.

m/keyc/turi : TraitURI

The URI that uniquely identifies the specification used to implement this trait.

AttributeValue
Value TypeURI-reference
FlagsCONST, REQ

Methods

KeyDescription
f/keyc?createCreates a new keychain item

f/keyc?create : Create

Creates a new keychain item.

ArgReqReturnsDescription
typeXintegerKeychain item type parameter.
secrbyte stringSymmetric shared secret, or private key if cert is present.
certbyte stringCertificate parameter.
identext stringIdentity to assume for any client using this item.

Returns URI for the created keychain item.