API credentials
Component-composed credential inventory, creation, reveal-once, revocation, recovery, density, and mobile states.
API credentials
Inventory, creation, reveal-once, revocation, recovery, density, and mobile pressure.
Validation
Active Model errors cover the missing name and unsupported policy values.
Create an API credential
Limit each credential to the access and lifetime its application needs.
The credential could not be created
Name the credential and choose supported access and expiration values.
Viewport
Ruby
test/dummy/app/components/gallery/compositions/api_credentials_page.rbdiv(
data: {
gallery: "composition-surface",
gallery_composition: "api-credentials",
gallery_mobile: state == "mobile" ? "true" : nil
}.compact
) do
render NitroKit::Container.new(size: :xl, id: "gallery-api-credentials-container") do
render NitroKit::Flex.new(dir: :col, gap: 6, align: :stretch, id: "gallery-api-credentials-stack") do
turbo_frame_tag("gallery-api-credentials-frame") { render_screen }
end
end
end