Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Stackland
  • What's new
  • Installation
    • All tutorials
    • Installing Stackland on Yandex BareMetal
    • Setting up external access to a pod in a cluster
    • All guides
      • Creating a bucket
      • Creating an AccessKey
      • Deleting a bucket
      • Deleting AccessKey
    • Projects
    • Resource model
  • Access management
  • Pricing policy
  • Diagnostics and troubleshooting
  1. Step-by-step guides
  2. Buckets
  3. Deleting AccessKey

Deleting an access key

Written by
Yandex Cloud
Updated at April 8, 2026

If you have an access key for Object Storage, you can delete it. Once you delete the key, the applications that rely on it will lose access to the storage.

Warning

Deleting an access key is irreversible. Make sure that your apps no longer use the key.

CLI
Management console
  1. Get a list of access keys in the project:

    kubectl get apikey -n <project_name>
    
  2. Delete an access key:

    kubectl delete apikey <key_name> -n <project_name>
    
  3. Optionally, delete the associated secret:

    kubectl delete secret <secret_name> -n <project_name>
    
  4. Delete the service account if you no longer need it:

    kubectl delete serviceaccount <service_account_name> -n <project_name>
    
  5. Delete the role assignment:

    kubectl delete accessbinding <assignment_name> -n <project_name>
    
  1. If you have not opened a project yet, select one.
  2. In the left-hand menu, select Service accounts.
  3. Select a service account.
  4. Go to the Access keys tab.
  5. Find the key and click Delete.
  6. Confirm the deletion.

What's nextWhat's next

  • Learn how to create a new access key.
  • Check out the Identity and Access Management guides.

Was the article helpful?

Previous
Deleting a bucket
Next
Creating a cluster
© 2026 Direct Cursus Technology L.L.C.