# SecretPropertiesProxy

- Module: [Aspire.Hosting.Azure.Provisioning.KeyVault](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the SecretProperties Azure Provisioning model.

## Definition

```typescript
interface SecretPropertiesProxy {
  attributes: SecretAttributesProxy;
  contentType: BicepValueProxy | string;
  readonly secretUri: BicepValueProxy | uri;
  readonly secretUriWithVersion: BicepValueProxy | string;
  value: BicepValueProxy | string;
  clearContentType(): void;
  clearValue(): void;
}
```

## Properties

- `attributes`: [SecretAttributesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/secretattributesproxy.md) `get - set` -- Gets or sets the Attributes provisioning property.
- `contentType`: `BicepValueProxy | string` `get - set` -- Gets or sets the ContentType provisioning property.
- `secretUri`: `BicepValueProxy | uri` `get` -- Gets the SecretUri provisioning property.
- `secretUriWithVersion`: `BicepValueProxy | string` `get` -- Gets the SecretUriWithVersion provisioning property.
- `value`: `BicepValueProxy | string` `get - set` -- Gets or sets the Value provisioning property.

## Methods

- [clearContentType](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/secretpropertiesproxy/clearcontenttype.md) -- `method` -- Clears the ContentType provisioning property.
    ```typescript
  clearContentType(): void
  ```
- [clearValue](/reference/api/typescript/aspire.hosting.azure.provisioning.keyvault/secretpropertiesproxy/clearvalue.md) -- `method` -- Clears the Value provisioning property.
    ```typescript
  clearValue(): void
  ```
