edit-icon download-icon

Create a secret

Last Updated: Feb 12, 2018

You can create a secret in the Container Service console.

Limits

The secret and the application using this secret must be in the same cluster.

Procedure

  1. Log on to the Container Service console.

  2. Click Clusters under Swarm 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 Create at the upper-right corner of the page.

    1

  6. Enter the secret name and value. Then, click OK.

    The name can contain uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). The name must start and end with a letter (either in uppercase or lowercase) or a number, and cannot exceed 64 characters in length.

    1

Thank you! We've received your feedback.