# StorageAccountProxy

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

Represents the StorageAccount Azure Provisioning model.

## Definition

```typescript
interface StorageAccountProxy {
  accessTier: BicepValueProxy | StorageAccountAccessTier;
  allowBlobPublicAccess: BicepValueProxy | boolean;
  allowCrossTenantDelegationSas: BicepValueProxy | boolean;
  allowCrossTenantReplication: BicepValueProxy | boolean;
  allowedCopyScope: BicepValueProxy | AllowedCopyScope;
  allowSharedKeyAccess: BicepValueProxy | boolean;
  allowSharedKeyAccessForServices: StorageAccountSharedKeyAccessPropertiesProxy;
  azureFilesIdentityBasedAuthentication: FilesIdentityBasedAuthenticationProxy;
  readonly blobRestoreStatus: BlobRestoreStatusProxy;
  readonly createdOn: BicepValueProxy | datetimeoffset;
  customDomain: StorageCustomDomainProxy;
  dataCollaborationPolicyProperties: StorageDataCollaborationPolicyPropertiesProxy;
  dnsEndpointType: BicepValueProxy | StorageDnsEndpointType;
  enableHttpsTrafficOnly: BicepValueProxy | boolean;
  encryption: StorageAccountEncryptionProxy;
  extendedLocation: StorageExtendedAzureLocationProxy;
  geoPriorityReplicationStatusIsBlobEnabled: BicepValueProxy | boolean;
  readonly geoReplicationStats: GeoReplicationStatisticsProxy;
  readonly id: BicepValueProxy;
  identity: StorageManagedServiceIdentityProxy;
  immutableStorageWithVersioning: ImmutableStorageAccountProxy;
  readonly isAccountMigrationInProgress: BicepValueProxy | boolean;
  isDefaultToOAuthAuthentication: BicepValueProxy | boolean;
  isExtendedGroupEnabled: BicepValueProxy | boolean;
  readonly isFailoverInProgress: BicepValueProxy | boolean;
  isHnsEnabled: BicepValueProxy | boolean;
  isIPv6EndpointToBePublished: BicepValueProxy | boolean;
  isLocalUserEnabled: BicepValueProxy | boolean;
  isNfsV3Enabled: BicepValueProxy | boolean;
  isSftpEnabled: BicepValueProxy | boolean;
  readonly isSkuConversionBlocked: BicepValueProxy | boolean;
  readonly keyCreationTime: StorageAccountKeyCreationTimeProxy;
  keyExpirationPeriodInDays: BicepValueProxy | number;
  kind: BicepValueProxy | StorageKind;
  largeFileSharesState: BicepValueProxy | LargeFileSharesState;
  readonly lastGeoFailoverOn: BicepValueProxy | datetimeoffset;
  location: BicepValueProxy;
  minimumTlsVersion: BicepValueProxy | StorageMinimumTlsVersion;
  name: BicepValueProxy | string;
  networkRuleSet: StorageAccountNetworkRuleSetProxy;
  readonly primaryEndpoints: StorageAccountEndpointsProxy;
  readonly primaryLocation: BicepValueProxy;
  readonly privateEndpointConnectionResources: Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStoragePrivateEndpointConnectionProxy;
  publicNetworkAccess: BicepValueProxy | StoragePublicNetworkAccess;
  routingPreference: StorageRoutingPreferenceProxy;
  sasPolicy: StorageAccountSasPolicyProxy;
  readonly secondaryEndpoints: StorageAccountEndpointsProxy;
  readonly secondaryLocation: BicepValueProxy;
  sku: StorageSkuProxy;
  readonly statusOfPrimary: BicepValueProxy | StorageAccountStatus;
  readonly statusOfSecondary: BicepValueProxy | StorageAccountStatus;
  readonly storageAccountProvisioningState: BicepValueProxy | StorageAccountProvisioningState;
  storageAccountSkuConversionStatus: StorageAccountSkuConversionStatusProxy;
  readonly systemData: StorageSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_Storage_Generated_DictionaryOfStringProxy;
  zonePlacementPolicy: BicepValueProxy | StorageAccountZonePlacementPolicy;
  zones: Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAccessTier(): void;
  clearAllowBlobPublicAccess(): void;
  clearAllowCrossTenantDelegationSas(): void;
  clearAllowCrossTenantReplication(): void;
  clearAllowedCopyScope(): void;
  clearAllowSharedKeyAccess(): void;
  clearDnsEndpointType(): void;
  clearEnableHttpsTrafficOnly(): void;
  clearGeoPriorityReplicationStatusIsBlobEnabled(): void;
  clearIsDefaultToOAuthAuthentication(): void;
  clearIsExtendedGroupEnabled(): void;
  clearIsHnsEnabled(): void;
  clearIsIPv6EndpointToBePublished(): void;
  clearIsLocalUserEnabled(): void;
  clearIsNfsV3Enabled(): void;
  clearIsSftpEnabled(): void;
  clearKeyExpirationPeriodInDays(): void;
  clearKind(): void;
  clearLargeFileSharesState(): void;
  clearLocation(): void;
  clearMinimumTlsVersion(): void;
  clearName(): void;
  clearPublicNetworkAccess(): void;
  clearZonePlacementPolicy(): void;
  createRoleAssignment(
      role: StorageBuiltInRoleProxy,
      principalType: BicepValueProxy | RoleManagementPrincipalType,
      principalId: BicepValueProxy | guid,
      bicepIdentifierSuffix: string): StorageRoleAssignmentProxy;
  getKeys(): Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStorageAccountKeyProxy;
}
```

## Properties

- `accessTier`: `BicepValueProxy | StorageAccountAccessTier` `get - set` -- Gets or sets the AccessTier provisioning property.
- `allowBlobPublicAccess`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the AllowBlobPublicAccess provisioning property.
- `allowCrossTenantDelegationSas`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the AllowCrossTenantDelegationSas provisioning property.
- `allowCrossTenantReplication`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the AllowCrossTenantReplication provisioning property.
- `allowedCopyScope`: `BicepValueProxy | AllowedCopyScope` `get - set` -- Gets or sets the AllowedCopyScope provisioning property.
- `allowSharedKeyAccess`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the AllowSharedKeyAccess provisioning property.
- `allowSharedKeyAccessForServices`: [StorageAccountSharedKeyAccessPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountsharedkeyaccesspropertiesproxy.md) `get - set` -- Gets or sets the AllowSharedKeyAccessForServices provisioning property.
- `azureFilesIdentityBasedAuthentication`: [FilesIdentityBasedAuthenticationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/filesidentitybasedauthenticationproxy.md) `get - set` -- Gets or sets the AzureFilesIdentityBasedAuthentication provisioning property.
- `blobRestoreStatus`: [BlobRestoreStatusProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/blobrestorestatusproxy.md) `get` -- Gets the BlobRestoreStatus provisioning property.
- `createdOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the CreatedOn provisioning property.
- `customDomain`: [StorageCustomDomainProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storagecustomdomainproxy.md) `get - set` -- Gets or sets the CustomDomain provisioning property.
- `dataCollaborationPolicyProperties`: [StorageDataCollaborationPolicyPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storagedatacollaborationpolicypropertiesproxy.md) `get - set` -- Gets or sets the DataCollaborationPolicyProperties provisioning property.
- `dnsEndpointType`: `BicepValueProxy | StorageDnsEndpointType` `get - set` -- Gets or sets the DnsEndpointType provisioning property.
- `enableHttpsTrafficOnly`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnableHttpsTrafficOnly provisioning property.
- `encryption`: [StorageAccountEncryptionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountencryptionproxy.md) `get - set` -- Gets or sets the Encryption provisioning property.
- `extendedLocation`: [StorageExtendedAzureLocationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageextendedazurelocationproxy.md) `get - set` -- Gets or sets the ExtendedLocation provisioning property.
- `geoPriorityReplicationStatusIsBlobEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the GeoPriorityReplicationStatusIsBlobEnabled provisioning property.
- `geoReplicationStats`: [GeoReplicationStatisticsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/georeplicationstatisticsproxy.md) `get` -- Gets the GeoReplicationStats provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `identity`: [StorageManagedServiceIdentityProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storagemanagedserviceidentityproxy.md) `get - set` -- Gets or sets the Identity provisioning property.
- `immutableStorageWithVersioning`: [ImmutableStorageAccountProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/immutablestorageaccountproxy.md) `get - set` -- Gets or sets the ImmutableStorageWithVersioning provisioning property.
- `isAccountMigrationInProgress`: `BicepValueProxy | boolean` `get` -- Gets the IsAccountMigrationInProgress provisioning property.
- `isDefaultToOAuthAuthentication`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsDefaultToOAuthAuthentication provisioning property.
- `isExtendedGroupEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsExtendedGroupEnabled provisioning property.
- `isFailoverInProgress`: `BicepValueProxy | boolean` `get` -- Gets the IsFailoverInProgress provisioning property.
- `isHnsEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsHnsEnabled provisioning property.
- `isIPv6EndpointToBePublished`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsIPv6EndpointToBePublished provisioning property.
- `isLocalUserEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsLocalUserEnabled provisioning property.
- `isNfsV3Enabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsNfsV3Enabled provisioning property.
- `isSftpEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsSftpEnabled provisioning property.
- `isSkuConversionBlocked`: `BicepValueProxy | boolean` `get` -- Gets the IsSkuConversionBlocked provisioning property.
- `keyCreationTime`: [StorageAccountKeyCreationTimeProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountkeycreationtimeproxy.md) `get` -- Gets the KeyCreationTime provisioning property.
- `keyExpirationPeriodInDays`: `BicepValueProxy | number` `get - set` -- Gets or sets the KeyExpirationPeriodInDays provisioning property.
- `kind`: `BicepValueProxy | StorageKind` `get - set` -- Gets or sets the Kind provisioning property.
- `largeFileSharesState`: `BicepValueProxy | LargeFileSharesState` `get - set` -- Gets or sets the LargeFileSharesState provisioning property.
- `lastGeoFailoverOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the LastGeoFailoverOn provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `minimumTlsVersion`: `BicepValueProxy | StorageMinimumTlsVersion` `get - set` -- Gets or sets the MinimumTlsVersion provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `networkRuleSet`: [StorageAccountNetworkRuleSetProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountnetworkrulesetproxy.md) `get - set` -- Gets or sets the NetworkRuleSet provisioning property.
- `primaryEndpoints`: [StorageAccountEndpointsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountendpointsproxy.md) `get` -- Gets the PrimaryEndpoints provisioning property.
- `primaryLocation`: `BicepValueProxy` `get` -- Gets the PrimaryLocation provisioning property.
- `privateEndpointConnectionResources`: [Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStoragePrivateEndpointConnectionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/aspire-hosting-azure-provisioning-storage-generated-listofstorageprivateendpointconnectionproxy.md) `get` -- Gets the PrivateEndpointConnectionResources provisioning property.
- `publicNetworkAccess`: `BicepValueProxy | StoragePublicNetworkAccess` `get - set` -- Gets or sets the PublicNetworkAccess provisioning property.
- `routingPreference`: [StorageRoutingPreferenceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageroutingpreferenceproxy.md) `get - set` -- Gets or sets the RoutingPreference provisioning property.
- `sasPolicy`: [StorageAccountSasPolicyProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountsaspolicyproxy.md) `get - set` -- Gets or sets the SasPolicy provisioning property.
- `secondaryEndpoints`: [StorageAccountEndpointsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountendpointsproxy.md) `get` -- Gets the SecondaryEndpoints provisioning property.
- `secondaryLocation`: `BicepValueProxy` `get` -- Gets the SecondaryLocation provisioning property.
- `sku`: [StorageSkuProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageskuproxy.md) `get - set` -- Gets or sets the Sku provisioning property.
- `statusOfPrimary`: `BicepValueProxy | StorageAccountStatus` `get` -- Gets the StatusOfPrimary provisioning property.
- `statusOfSecondary`: `BicepValueProxy | StorageAccountStatus` `get` -- Gets the StatusOfSecondary provisioning property.
- `storageAccountProvisioningState`: `BicepValueProxy | StorageAccountProvisioningState` `get` -- Gets the StorageAccountProvisioningState provisioning property.
- `storageAccountSkuConversionStatus`: [StorageAccountSkuConversionStatusProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountskuconversionstatusproxy.md) `get - set` -- Gets or sets the StorageAccountSkuConversionStatus provisioning property.
- `systemData`: [StorageSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storagesystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_Storage_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/aspire-hosting-azure-provisioning-storage-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.
- `zonePlacementPolicy`: `BicepValueProxy | StorageAccountZonePlacementPolicy` `get - set` -- Gets or sets the ZonePlacementPolicy provisioning property.
- `zones`: [Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/aspire-hosting-azure-provisioning-storage-generated-listofstringproxy.md) `get - set` -- Gets or sets the Zones provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAccessTier](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearaccesstier.md) -- `method` -- Clears the AccessTier provisioning property.
    ```typescript
  clearAccessTier(): void
  ```
- [clearAllowBlobPublicAccess](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearallowblobpublicaccess.md) -- `method` -- Clears the AllowBlobPublicAccess provisioning property.
    ```typescript
  clearAllowBlobPublicAccess(): void
  ```
- [clearAllowCrossTenantDelegationSas](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearallowcrosstenantdelegationsas.md) -- `method` -- Clears the AllowCrossTenantDelegationSas provisioning property.
    ```typescript
  clearAllowCrossTenantDelegationSas(): void
  ```
- [clearAllowCrossTenantReplication](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearallowcrosstenantreplication.md) -- `method` -- Clears the AllowCrossTenantReplication provisioning property.
    ```typescript
  clearAllowCrossTenantReplication(): void
  ```
- [clearAllowedCopyScope](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearallowedcopyscope.md) -- `method` -- Clears the AllowedCopyScope provisioning property.
    ```typescript
  clearAllowedCopyScope(): void
  ```
- [clearAllowSharedKeyAccess](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearallowsharedkeyaccess.md) -- `method` -- Clears the AllowSharedKeyAccess provisioning property.
    ```typescript
  clearAllowSharedKeyAccess(): void
  ```
- [clearDnsEndpointType](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/cleardnsendpointtype.md) -- `method` -- Clears the DnsEndpointType provisioning property.
    ```typescript
  clearDnsEndpointType(): void
  ```
- [clearEnableHttpsTrafficOnly](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearenablehttpstrafficonly.md) -- `method` -- Clears the EnableHttpsTrafficOnly provisioning property.
    ```typescript
  clearEnableHttpsTrafficOnly(): void
  ```
- [clearGeoPriorityReplicationStatusIsBlobEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/cleargeopriorityreplicationstatusisblobenabled.md) -- `method` -- Clears the GeoPriorityReplicationStatusIsBlobEnabled provisioning property.
    ```typescript
  clearGeoPriorityReplicationStatusIsBlobEnabled(): void
  ```
- [clearIsDefaultToOAuthAuthentication](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearisdefaulttooauthauthentication.md) -- `method` -- Clears the IsDefaultToOAuthAuthentication provisioning property.
    ```typescript
  clearIsDefaultToOAuthAuthentication(): void
  ```
- [clearIsExtendedGroupEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearisextendedgroupenabled.md) -- `method` -- Clears the IsExtendedGroupEnabled provisioning property.
    ```typescript
  clearIsExtendedGroupEnabled(): void
  ```
- [clearIsHnsEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearishnsenabled.md) -- `method` -- Clears the IsHnsEnabled provisioning property.
    ```typescript
  clearIsHnsEnabled(): void
  ```
- [clearIsIPv6EndpointToBePublished](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearisipv6endpointtobepublished.md) -- `method` -- Clears the IsIPv6EndpointToBePublished provisioning property.
    ```typescript
  clearIsIPv6EndpointToBePublished(): void
  ```
- [clearIsLocalUserEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearislocaluserenabled.md) -- `method` -- Clears the IsLocalUserEnabled provisioning property.
    ```typescript
  clearIsLocalUserEnabled(): void
  ```
- [clearIsNfsV3Enabled](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearisnfsv3enabled.md) -- `method` -- Clears the IsNfsV3Enabled provisioning property.
    ```typescript
  clearIsNfsV3Enabled(): void
  ```
- [clearIsSftpEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearissftpenabled.md) -- `method` -- Clears the IsSftpEnabled provisioning property.
    ```typescript
  clearIsSftpEnabled(): void
  ```
- [clearKeyExpirationPeriodInDays](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearkeyexpirationperiodindays.md) -- `method` -- Clears the KeyExpirationPeriodInDays provisioning property.
    ```typescript
  clearKeyExpirationPeriodInDays(): void
  ```
- [clearKind](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearkind.md) -- `method` -- Clears the Kind provisioning property.
    ```typescript
  clearKind(): void
  ```
- [clearLargeFileSharesState](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearlargefilesharesstate.md) -- `method` -- Clears the LargeFileSharesState provisioning property.
    ```typescript
  clearLargeFileSharesState(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearMinimumTlsVersion](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearminimumtlsversion.md) -- `method` -- Clears the MinimumTlsVersion provisioning property.
    ```typescript
  clearMinimumTlsVersion(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPublicNetworkAccess](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearpublicnetworkaccess.md) -- `method` -- Clears the PublicNetworkAccess provisioning property.
    ```typescript
  clearPublicNetworkAccess(): void
  ```
- [clearZonePlacementPolicy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/clearzoneplacementpolicy.md) -- `method` -- Clears the ZonePlacementPolicy provisioning property.
    ```typescript
  clearZonePlacementPolicy(): void
  ```
- [createRoleAssignment](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/createroleassignment.md) -- `method` -- Invokes CreateRoleAssignment on the StorageAccount provisioning model.
    ```typescript
  createRoleAssignment(role: StorageBuiltInRoleProxy, principalType: BicepValueProxy | RoleManagementPrincipalType, principalId: BicepValueProxy | guid, bicepIdentifierSuffix: string): StorageRoleAssignmentProxy
  ```
- [getKeys](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountproxy/getkeys.md) -- `method` -- Invokes GetKeys on the StorageAccount provisioning model.
    ```typescript
  getKeys(): Aspire_Hosting_Azure_Provisioning_Storage_Generated_ListOfStorageAccountKeyProxy
  ```
