Crate wasmcloud_secrets_types

Source

Structs§

Application
The application that the entity belongs to.
Context
The request context for retrieving a secret
Policy
Secret
A secret that can be either a string or binary value.
SecretConfig
The representation of a secret reference in the config store.
SecretRequest
The request to retrieve a secret. This includes the name of the secret and the context needed to validate the requestor. The context will be passed to the underlying secrets service in order to make decisions around access. The version field is optional but highly recommended. If it is not provided, the service will default to retrieving the latest version of the secret.
SecretResponse
The response to a secret request. The fields are mutually exclusive: either a secret or an error will be set.

Enums§

ContextValidationError
GetSecretError

Constants§

RESPONSE_XKEY
SECRET_API_VERSION
The version of the secrets API
SECRET_POLICY_PROPERTIES_TYPE
The type of the properties in the secret policy. This is primarily used to version the policy properties format.
SECRET_PREFIX
The prefix for all secret keys in the config store
SECRET_TYPE
The type of secret. This is used to inform wadm or anything else that is consuming the secret about how to deserialize the payload.
WASMCLOUD_HOST_XKEY
The key of a NATS header containing the wasmCloud host’s public xkey used to encrypt a secret request. It is also used to encrypt the response so that only the requestor can decrypt it.

Traits§

SecretsServer