Accessing Buckets

Creating a Key for Accessing Buckets in Object Storage

To access buckets in Krutrim Cloud’s Object Storage, you need to generate an API key using the Key Management Service (KMS). Follow the steps below to create and securely store your key.


Steps to Create a Bucket API Key

  1. Navigate to KMS

    • From the Krutrim Cloud Console, go to the Key Management Service section.

  2. Go to the Storage Section

    • Inside KMS, select the Storage tab to view storage-related key options.

  3. Create a Bucket API Key

    • Click on Create Bucket API Key to start the key generation process.

  4. Select Region

    • Choose the region where your bucket resides.

    • This ensures the generated key will have access to buckets in that region.

  5. Create Key

    • Click Create to generate your new API key.

  6. Retrieve Public and Private Keys

    • Once created, you will be shown a Public Key and a Private Key.


Usage

  • Use the Private Key along with the Public Key to authenticate and access your buckets in Block Storage via APIs or SDKs.

  • Ensure your private key is never exposed in public code repositories or logs.


Security Best Practices

  • Store your private key in a secure password manager or encrypted vault.

  • Rotate keys periodically for enhanced security.

  • Revoke unused keys from the KMS to reduce exposure risks.

Last updated

Was this helpful?