Azure Storage Accounts Encryption Scopes API

The EncryptionScopes API from Azure Storage Accounts — 2 operation(s) for encryptionscopes.

GitHub OpenAPI

Operations 4

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes Encryption scopes list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName} Encryption scopes get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName} Encryption scopes put #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName} Encryption scopes patch #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-storage-accounts:azure-storage-accounts-encryptionscopes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-storage-accounts-encryptionscopes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StorageManagementClient Encryption Scopes API
  version: '2026-09-01'
  description: The Azure Storage Management API.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: EncryptionScopes
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes
  : get:
      operationId: EncryptionScopes_List
      tags:
      - EncryptionScopes
      description: Lists all the encryption scopes available under the specified storage account.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      - name: $maxpagesize
        in: query
        description: Optional, specifies the maximum number of encryption scopes that will be included in the list response.
        required: false
        schema:
          type: integer
          format: int32
          maximum: 5000
          minimum: 1
      - name: $filter
        in: query
        description: Optional. When specified, only encryption scope names starting with the filter will be listed.
        required: false
        schema:
          type: string
      - name: $include
        in: query
        description: Optional, when specified, will list encryption scopes with the specific state. Defaults to All
        required: false
        x-ms-enum:
          name: ListEncryptionScopesInclude
          modelAsString: true
          values:
          - name: All
            value: All
          - name: Enabled
            value: Enabled
          - name: Disabled
            value: Disabled
        schema:
          type: string
          enum:
          - All
          - Enabled
          - Disabled
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EncryptionScopeListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Encryption scopes list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}
  : get:
      operationId: EncryptionScopes_Get
      tags:
      - EncryptionScopes
      description: Returns the properties for the specified encryption scope.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      - name: encryptionScopeName
        in: path
        description: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 3
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EncryptionScope'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Encryption scopes get
      x-summary-source: derived
    put:
      operationId: EncryptionScopes_Put
      tags:
      - EncryptionScopes
      description: Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      - name: encryptionScopeName
        in: path
        description: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 3
      responses:
        '200':
          description: Resource 'EncryptionScope' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EncryptionScope'
        '201':
          description: Resource 'EncryptionScope' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EncryptionScope'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EncryptionScope'
        description: Encryption scope properties to be used for the create or update.
        required: true
      summary: Encryption scopes put
      x-summary-source: derived
    patch:
      operationId: EncryptionScopes_Patch
      tags:
      - EncryptionScopes
      description: Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      - name: encryptionScopeName
        in: path
        description: The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
        required: true
        schema:
          type: string
          maxLength: 63
          minLength: 3
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EncryptionScope'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EncryptionScope'
        description: Encryption scope properties to be used for the update.
        required: true
      summary: Encryption scopes patch
      x-summary-source: derived
components:
  schemas:
    ErrorResponseBody:
      type: object
      description: Error response body contract.
      properties:
        code:
          type: string
          description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
        message:
          type: string
          description: A message describing the error, intended to be suitable for display in a user interface.
    EncryptionScopeListResult:
      type: object
      description: The response of a EncryptionScope list operation.
      properties:
        value:
          type: array
          description: The EncryptionScope items on this page
          items:
            $ref: '#/components/schemas/EncryptionScope'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    EncryptionScope:
      type: object
      description: The Encryption Scope resource.
      properties:
        properties:
          $ref: '#/components/schemas/EncryptionScopeProperties'
          description: Properties of the encryption scope.
          x-ms-client-flatten: true
          x-ms-client-name: EncryptionScopeProperties
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    EncryptionScopeState:
      type: string
      description: 'The state of the encryption scope. Possible values (case-insensitive):  Enabled, Disabled.'
      enum:
      - Enabled
      - Disabled
      x-ms-enum:
        name: EncryptionScopeState
        modelAsString: true
        values:
        - name: Enabled
          value: Enabled
        - name: Disabled
          value: Disabled
    EncryptionScopeSource:
      type: string
      description: 'The provider for the encryption scope. Possible values (case-insensitive):  Microsoft.Storage, Microsoft.KeyVault.'
      enum:
      - Microsoft.Storage
      - Microsoft.KeyVault
      x-ms-enum:
        name: EncryptionScopeSource
        modelAsString: true
        values:
        - name: Microsoft.Storage
          value: Microsoft.Storage
        - name: Microsoft.KeyVault
          value: Microsoft.KeyVault
    EncryptionScopeProperties:
      type: object
      description: Properties of the encryption scope.
      properties:
        source:
          $ref: '#/components/schemas/EncryptionScopeSource'
          description: 'The provider for the encryption scope. Possible values (case-insensitive):  Microsoft.Storage, Microsoft.KeyVault.'
        state:
          $ref: '#/components/schemas/EncryptionScopeState'
          description: 'The state of the encryption scope. Possible values (case-insensitive):  Enabled, Disabled.'
        creationTime:
          type: string
          format: date-time
          description: Gets the creation date and time of the encryption scope in UTC.
          readOnly: true
        lastModifiedTime:
          type: string
          format: date-time
          description: Gets the last modification date and time of the encryption scope in UTC.
          readOnly: true
        keyVaultProperties:
          $ref: '#/components/schemas/EncryptionScopeKeyVaultProperties'
          description: The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
        requireInfrastructureEncryption:
          type: boolean
          description: A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
    ErrorResponse:
      type: object
      description: An error response from the storage resource provider.
      properties:
        error:
          $ref: '#/components/schemas/ErrorResponseBody'
          description: Azure Storage Resource Provider error response body.
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          format: arm-id
          description: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    EncryptionScopeKeyVaultProperties:
      type: object
      description: The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
      properties:
        keyUri:
          type: string
          description: The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope.
        currentVersionedKeyIdentifier:
          type: string
          description: The object identifier of the current versioned Key Vault Key in use.
          readOnly: true
        lastKeyRotationTimestamp:
          type: string
          format: date-time
          description: Timestamp of last rotation of the Key Vault Key.
          readOnly: true
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.