A Secret Key is a named collection of key/value pairs. Each key in the collection becomes an environment variable inside the service container, making it easy to inject API tokens, database URIs, or other sensitive values into your code.
Go to the Secrets section and select Image Pull Secrets.
Enter registry URL, username, and password (or token).
Name the pull secret (e.g. acme-priv-registry).
Attach to a Service
In the Services tab, edit the service that uses a private image.
Under Image, specify your private image reference.
Under Image Pull Secret, select the secret you created.
Save; MeshAgent will authenticate using these credentials whenever it starts the service.
By defining Secret Keys and Image Pull Secrets in MeshAgent, you can keep sensitive data secure, scoped, and easily managed—ensuring your service containers have just the right credentials they need to run.