# secret

Create a Secret builder in the namespace.

```rhai
namespace.secret(name) -> Secret
```

## Parameters

- `name` (string): Secret name

## Returns

Returns a `Secret` builder for configuring and creating a secret.

## Examples

```rhai
let ns = kubernetes().namespace("default");

// Create a secret
let secret = ns.secret("db-credentials")
    .set("username", "admin")
    .set("password", "secretpassword")
    .apply();
```

## Notes

- Returns a builder for fluent configuration
- Use `apply()` to create the Secret in Kubernetes
- Secret names must be unique within the namespace
- Values are base64 encoded automatically
