Credential Stores allow a client to fetch credentials for a specific binding. The platform typically implements this interface keeping the implementation details of credential storage hidden from the service lifecycle and users.
Types
Functions
fetch: func(
binding-id: service-binding-id,
) -> result<list<credential>, error>
Fetch credentials from the store for a specific binding.
WIT
/// Credential Stores allow a client to fetch credentials for a specific binding. The platform
/// typically implements this interface keeping the implementation details of credential storage
/// hidden from the service lifecycle and users.
interface credential-store {
use types.{service-binding-id, credential, error};
/// Fetch credentials from the store for a specific binding.
fetch: func(binding-id: service-binding-id) -> result<list<credential>, error>;
}