www/apps/cloud/app/access-keys/page.mdx
import { Note, InlineIcon } from "docs-ui" import { ShieldCheck, CommandLine, EllipsisHorizontal } from "@medusajs/icons"
export const metadata = {
title: Access Keys,
}
In this guide, you'll learn how to create and manage access keys to authenticate with Cloud APIs.
Access keys are API credentials that allow you to authenticate with Cloud services programmatically. They provide secure access to your Cloud resources without requiring interactive login.
Access keys are useful when using the Medusa Cloud CLI in non-interactive environments such as CI/CD pipelines, server scripts, or when you want to avoid opening a browser for authentication.
Cloud supports two types of access keys:
Organization access keys allow API access to organization-level resources such as projects, environments, and billing information. These keys can be managed by any organization member.
To manage organization access keys:
From this page, you can view all organization access keys, including their names, redacted key previews, and creation dates.
To create a new organization access key:
After creation, the full access key token will be displayed with a copy button. Make sure to copy and store this token before closing the modal, as it won't be shown again.
To rename an existing organization access key:
Deleting an access key will immediately revoke API access for any applications or scripts using that key. This action cannot be undone.
</Note>To delete an organization access key:
Personal access keys provide API access to your individual account resources and all organizations you have access to. These keys are private to your account and can only be managed by you.
To access your personal access keys:
From this page, you can view all your personal access keys, including their names, redacted key previews, and creation dates.
To create a new personal access key:
After creation, the full access key token will be displayed with a copy button. Make sure to copy and store this token before closing the modal, as it won't be shown again.
To rename an existing personal access key:
Deleting an access key will immediately revoke API access for any applications or scripts using that key. This action cannot be undone.
</Note>To delete a personal access key: