4 - 密文


    Secrets store sensitive data like passwords, tokens, or keys. They may contain one or more key value pairs.

    When creating a secret, you can make it available for any deployment within a project, or you can limit it to a single namespace.

    • Select a Scope for the secret.

    • Click Save.

    Result: Your secret is added to the project or namespace, depending on the scope you chose. You can view the secret in the Rancher UI from the Resources > Secrets view.

    Now that you have a secret added to the project or namespace, you can add it to a workload that you deploy.

    For more information on adding secret to a workload, see .