Interface SecretGrant

The result of a granted requestSecret() — a durable (appKey, secretId) use grant plus the secret's metadata. Never the value. Hold onto nothing but this; the host substitutes the value into matching net:fetch requests.

interface SecretGrant {
    grantId: string;
    secret: SecretView;
}

Properties

Properties

grantId: string

Opaque handle for the minted (appKey, secretId) grant.

secret: SecretView

Metadata of the bound secret (no value).