Skip to content

Secrets

This example assumes using Fal; is in scope and apiKey contains your Fal API key.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
var client = GetAuthorizedApi();

try
{
    var response = await client.Keys.ListApiKeysAsync(limit: 10);

}
catch (ApiException ex) when (ex.Message.Contains("Admin API key"))
{
}