Credential Stores allow a client to fetch credentials for a specific instance or 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(id: service-id) -> result<list<credential>, error>
Fetch credentials from the store for a specific instance or binding.
WIT
/// Credential Stores allow a client to fetch credentials for a specific instance or 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-id, credential, error};
/// Fetch credentials from the store for a specific instance or binding.
fetch: func(id: service-id) -> result<list<credential>, error>;
}