{isLegacyKeysEnabled ? 'Disable legacy API keys' : 'Re-enabling legacy API keys'}
{isLegacyKeysEnabled ? 'Make sure you are no longer using your legacy API keys before proceeding.' : 'We recommend you use the new API keys whenever possible, but re-enabling is an option.'}
anon and service_role keys while they are in
use will cause downtime for your application. Ensure they are no longer in use
before proceeding. If you have not created a publishable and at least one secret
API key, some dashboard functionality may become unavailable.
apikey header. They remain
valid as a JWT.
),
}
: {
title: 'Publishable and secret keys are preferred',
description: (
Re-enabling anon and service_role keys may be
appropriate in certain cases, but using a publishable and secret key is more
secure. We recommend against re-enabling legacy API keys.
),
}
}
/>
)
}