Skip to main content

Module types

Module types 

Source

Structs§

Secret
A credential handed to the component.
SecretInfo
Non-secret description of a stored credential. list-secrets returns these; the material is never included, so enumerating what exists leaks nothing that could be used to authenticate.
SecretRequest
What a component is asking for. Everything past key is context the host uses to decide, to prompt, and to record in the audit trail.

Enums§

SecretError
Why a credential was not handed over.

Traits§

Host
HostWithStore

Functions§

add_to_linker
add_to_linker_instance

Type Aliases§

Cbor
SecretFields
The secret material itself: field name to CBOR-encoded value. Field names are fixed by the secret-kind.
SecretKind
Shape of a secret, as a namespaced string. Well-known kinds carry the std: prefix and are registered in ACT-CONSTANTS: “std:opaque” (one value), “std:basic” (username and password), “std:oauth2” (an access token, with expiry and scopes alongside it); third-party kinds use their own namespace. The kind determines which keys appear in secret.fields.