---
title: "SecretGenerator"
linkTitle: "SecretGenerator"
weight: 2
date: 2023-11-16
description: >
  Generate Secret objects.
---

## SecretGenerator
SecretGenerator generates [Secret] objects.

---

* **apiVersion**: builtin
* **kind**: SecretGenerator
* **metadata** ([ObjectMeta](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-meta/#ObjectMeta))

  Kubernetes API object metadata.

{{< include "../included/secretargs.md" >}}

[Secret]: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/
