# Tls

> Resource Tls in pulumi-portainer.

<!-- Generated from the pulumi-portainer SDK. -->

Resource Tls in pulumi-portainer.

Pulumi type: `portainer:index/tls:Tls`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as portainer from "pulumi-portainer"

const resource = new portainer.Tls("tls", {
  certificate: "<certificate>",
  filePath: "<filePath>",
  folder: "<folder>",
})
```

## Arguments

| Property      | Type     | Required | Description                                         |
| ------------- | -------- | -------- | --------------------------------------------------- |
| `certificate` | `string` | yes      | Type of TLS certificate: one of 'ca', 'cert', 'key' |
| `filePath`    | `string` | yes      | Path to the local TLS file to upload                |
| `folder`      | `string` | yes      | Folder name where the TLS file will be stored       |
| `tlsId`       | `string` | no       |                                                     |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property      | Type     | Computed | Description                                         |
| ------------- | -------- | -------- | --------------------------------------------------- |
| `certificate` | `string` | no       | Type of TLS certificate: one of 'ca', 'cert', 'key' |
| `filePath`    | `string` | no       | Path to the local TLS file to upload                |
| `folder`      | `string` | no       | Folder name where the TLS file will be stored       |
| `tlsId`       | `string` | no       |                                                     |
