edit-icon download-icon

Delete a secret

Last Updated: Feb 06, 2018

You can delete a secret that is no longer in use in the Container Service console.

Limits

You cannot delete a secret that is being referenced by a service. Remove the secret from the service before deleting the secret.

Procedure

  1. Log on to the Container Service console.

  2. Click Clusters in the left-side navigation pane.

  3. Click Manage at the right of the cluster.

    1

  4. Click Secrets in the left-side navigation pane.

  5. Click Delete at the right of the secret you want to delete.

    1

  6. In the confirmation dialog box, click Confirm.

    1

    If the secret is being referenced by one or more services, an error is reported when you try to delete it. You must first remove the secret from the service by changing the application configurations and then delete the secret. For how to remove a secret from the service, see Update a service secret.

Thank you! We've received your feedback.