Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Stackland
  • What's new
  • Installation
    • All tutorials
    • Installing Stackland on Yandex BareMetal
    • Installing Stackland on Yandex BareMetal via PXE
    • Installing Stackland on Yandex Cloud VMs
    • Setting up external access to a pod in a cluster
    • Verifying signatures for custom images
    • All guides
      • Creating a bucket
      • Creating an AccessKey
      • Deleting a bucket
      • Deleting AccessKey
    • Projects
    • Resource model
    • Scaling a cluster
    • Licensing
  • 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 October 30, 2026
View in Markdown

If you have a static access key for Object Storage, you can delete it. Once you delete the key, all applications utilizing it, as well as any temporary STS keys generated on its basis, 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 accesskey -n <project_name>
    
  2. Delete an access key:

    kubectl delete accesskey <key_name> -n <project_name>
    

    The associated secret is deleted automatically.

  3. Make sure the key has been deleted:

    kubectl get accesskey -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.