Chapter 14. Types

Struct types
Secret
Map types
ObjectPath_Secret_Map

Struct types

Secret

The Secret type holds a (possibly encoded) secret.

Arrays of Secret don't generally make sense.

 struct Secret {
  ObjectPath session ;
  Array<Byte> parameters ;
  Array<Byte> value ;
  String content_type ;
}
session

The session that was used to encode the secret.

parameters

Algorithm dependent parameters for secret value encoding.

value

Possibly encoded secret value

content_type

The content type of the secret. For example: 'text/plain; charset=utf8'