# External Secrets: prompt secret delivery without exposing values

> A Kubernetes External Secrets diagram should explain how an application receives a value without containing that value. This example draws the reconciliation and consumption paths using symbolic names, with authentication left explicit rather than guessed.

## Key takeaways

- Separate the external store, operator and resulting Kubernetes Secret.
- Show the ExternalSecret resource in the application namespace.
- Use symbolic names and mark provider authentication as implementation-specific.

[Open this diagram in archhy](https://archhy.com/app#d=N4IgLglmA2CmIC4QFEAeZYCcB2BDaABAMqwDGmsYAzggQA6YD2AtnWAVWRewCazQQAblgCeBAO5QAFowCu7WKjqMqEbAHMCg-LNhUQAGhDRcIuWAAiECqUiNsiEABkASoZDNKuRKHXRGAEb4+gigVDLiAHKMfAAqInR6iABmwbBGEFREeHTIeAFwPIhgmLpG6pgQPEQQAF7wCABMAAxGmLgQ0ERgInCOpHC4DkZ0ELayFD7gUH0IJboAvktG2DFJCADaoFX90LJUGJjuJgH8jgDSsqc4lHoEA-uH7j2JjgBCctg8uJgi7pyYQRjBogADWVyw2FuVAA9A8DlhnrgAk5kWckJdrlCMFR7nsEUcjAFGJg+Jhur0QVRGAIikSSWSAMI0kmOADEAGZGgA2UiwACsx1M5imqEQPNaID+CElkh4YCkiAAjBKjFJYBB1FIwIgABzNZrLbZFJB0ExgZIk5hC07QRxm3AWq0EPCeKh0XB854JEEfWRfH5-IwAoFepDgrHQmGuvQer1GMDI1G2+3my2YZgu3BuuPwemkrAU2YgHiMMAYOkgYkFzDM-xHJCcnl8wVGExmeSixAAFkl0v5sqqCp7BrVGq1OoQ3P1CxGP1g2DAAEkTSB4U9Z8bHAFOgINDb0VXd2pNDH3Z68+Afe9Pt9fv8sKGQRHIVGz7mkSi0XakDvoHvT2zWML3casySLEFS3LWBKzArA61ZRsuV5AUhQ7SdQDFBBu31Ix+0HeVFQQAB2Xsx01bVEGnQ05woRcV12R5EU3EAdiQA4SUvE5DzQQ48EIThyEoDgwE471XiQEhAURNthU7UIQCwvsew5AjhyaUcQHVCjJxVQ0WLYkBGESdpRMJYxv0cXjIXwYguEoX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lZJySUiAejqjlJCJU0x2NcYNI6lLDkLSHF3Lxp0xw6NKC9I8J8agN0MZGFGeM+hUymGRLmY2WJCSkmbPEWk6RsiTlnUTEolRiKQQaN2ZRM5FyDEVOMQsT+CwgA)

A Kubernetes External Secrets diagram should explain how an application receives a value without containing that value. This example draws the reconciliation and consumption paths using symbolic names, with authentication left explicit rather than guessed.

Part 8 of our [Kubernetes prompting series](https://archhy.com/blog/kubernetes-diagram-prompts). The diagram below is an authored Archhy example of the brief, not a claimed output from a particular AI model. Open it in the editor to inspect and adapt the native objects.

## The prompt

> Show an application in namespace billing using External Secrets Operator. Put the operator in platform and an ExternalSecret resource plus Kubernetes Secret in billing. Show the operator retrieving a value from an external secret store and reconciling the Kubernetes Secret. The application mounts that Secret. Use symbolic names only. Draw authentication to the secret store as an implementation-specific relationship requiring confirmation.

On a computer, use AI → Generate with AI, Cloud: Auto, then Generate and Save. On a phone, AI → Generate applies the result with Undo available. Keep a copy of existing work before generating. Use an available configured model; results need inspection and may differ from this authored example.

## Read reconciliation first

External Secrets Operator runs in platform. A namespaced ExternalSecret in billing describes the desired synchronization. The operator accesses the external secret store and reconciles a Kubernetes Secret in billing. The diagram uses distinct arrows for reading configuration, retrieving a value and writing the resulting object. It does not imply that the resource declaration itself runs a process.

## Then read application consumption

The billing pod mounts the resulting Secret through a separate consumption relationship. It does not call the external store directly in this pattern. That separation is the point of the diagram: a reader should see which components need external connectivity and which simply consume a Kubernetes resource. The symbolic Secret name is enough to explain the path; no password or token belongs in the picture.

## Do not guess provider identity

The external authentication mechanism is a note requiring confirmation. It might be workload identity or another supported arrangement, but this provider-neutral view chooses neither. Before adding an identity card, identify the actual provider, principal and permission boundary. A generic arrow marked secure would hide those choices. The diagram is a prompt for that review, not a claim that least privilege or rotation is configured.

## Discuss refresh separately

A useful follow-up asks how changes in the external store reach the Secret and then the running application. This illustration intentionally leaves refresh intervals and application reload behaviour unspecified. Do not assume that reconciling a Secret means an application has reloaded its credentials. Add the actual consumption and restart or reload behaviour only after checking how the application uses its mounted data.

For a practical handover, identify who owns the external value, the synchronization configuration and the consuming application. Those may be different teams. Record the ownership in notes without adding credentials. This makes a later incident review more useful: a reader can ask which boundary failed rather than treating every secret-related component as one service.

## Check the result

- ExternalSecret and generated Secret are not the same object.
- The application does not bypass the illustrated operator pattern.
- No real credential, sensitive endpoint or provider key appears in labels or notes.

Inspect every arrowhead at both canvas and exported size. Solid blue rails show the operation named by their labels; dashed purple rails show management or configuration. Other colours are explained by the diagram legend. A rail describes a logical relationship, not necessarily a literal network hop.

## Try one precise edit

> Keep the objects and arrows. Add a note asking how the application reloads credentials after the Kubernetes Secret changes. Do not assume a restart or interval.

Use Edit with AI with Preserve layout on. Check the result against the previous diagram, undo if needed, then save the native version you want to keep. The diagram is an explanation aid, not executable configuration or a deployment check.

## Continue the series

[All ten prompts and the prompting method](https://archhy.com/blog/kubernetes-diagram-prompts). Previous: [OpenTelemetry on Kubernetes: prompt the telemetry pipeline](https://archhy.com/blog/kubernetes-opentelemetry-collector-diagram). Next: [Multi-cluster Kubernetes: prompt an overview readers can follow](https://archhy.com/blog/kubernetes-multi-cluster-overview-diagram).

## Frequently asked questions

### Should I put a real secret value in the prompt?

No. Use symbolic names; the relationship can be explained without credentials.

### Does synchronization prove the application uses the new value?

No. Check the consumption pattern and actual application reload behaviour separately.

*Based on:* Original Archhy teaching example, informed by [official external-secrets.io documentation](https://external-secrets.io/latest/introduction/overview/). The example assumptions are named in the article and diagram; it is not a reproduction of a reference deployment.
