Amazon EC2 Ec2 Ebs Default Kms Key Id API

The Ec2 Ebs Default Kms Key Id API from Amazon EC2 — 3 operation(s) for ec2 ebs default kms key id.

Operations 3

POST /?Action=GetEbsDefaultKmsKeyId Get Ebs Default Kms Key Id #
POST /?Action=ModifyEbsDefaultKmsKeyId Modify Ebs Default Kms Key Id #
POST /?Action=ResetEbsDefaultKmsKeyId Reset Ebs Default Kms Key Id #

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/amazon-ec2:amazon-ec2-ebs-default-kms-key-id-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

amazon-ec2-ebs-default-kms-key-id-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Elastic Compute Cloud Ebs Default Kms Key Id API
  version: '2016-11-15'
  description: Generated from AWS's published Smithy model for Amazon Elastic Compute Cloud. 3 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://ec2.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
tags:
- name: Ebs Default Kms Key Id
paths:
  /?Action=GetEbsDefaultKmsKeyId:
    post:
      operationId: GetEbsDefaultKmsKeyId
      summary: Get Ebs Default Kms Key Id
      description: Describes the default KMS key for EBS encryption by default for your account in this Region. For more information, see Amazon EBS encryption in the Amazon EBS User Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GetEbsDefaultKmsKeyIdResult'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: GetEbsDefaultKmsKeyId
                  Version:
                    type: string
                    const: '2016-11-15'
              - $ref: '#/components/schemas/GetEbsDefaultKmsKeyIdRequest'
      tags:
      - Ebs Default Kms Key Id
  /?Action=ModifyEbsDefaultKmsKeyId:
    post:
      operationId: ModifyEbsDefaultKmsKeyId
      summary: Modify Ebs Default Kms Key Id
      description: Changes the default KMS key for EBS encryption by default for your account in this Region. Amazon Web Services creates a unique Amazon Web Services managed KMS key in each Region for use with encryption by default. If you change the default KMS key to a symmetric customer managed KMS key, it is used instead of the Amazon Web Services managed KMS key. Amazon EBS does not support asymmetric KMS keys. If you delete or disable the customer managed KMS key that you specified for use with encryption by default, your instances will fail to launch. For more information, see Amazon EBS encryption in the Amazon EBS User Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ModifyEbsDefaultKmsKeyIdResult'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: ModifyEbsDefaultKmsKeyId
                  Version:
                    type: string
                    const: '2016-11-15'
              - $ref: '#/components/schemas/ModifyEbsDefaultKmsKeyIdRequest'
      tags:
      - Ebs Default Kms Key Id
  /?Action=ResetEbsDefaultKmsKeyId:
    post:
      operationId: ResetEbsDefaultKmsKeyId
      summary: Reset Ebs Default Kms Key Id
      description: Resets the default KMS key for EBS encryption for your account in this Region to the Amazon Web Services managed KMS key for EBS. After resetting the default KMS key to the Amazon Web Services managed KMS key, you can continue to encrypt by a customer managed KMS key by specifying it when you create the volume. For more information, see Amazon EBS encryption in the Amazon EBS User Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ResetEbsDefaultKmsKeyIdResult'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: ResetEbsDefaultKmsKeyId
                  Version:
                    type: string
                    const: '2016-11-15'
              - $ref: '#/components/schemas/ResetEbsDefaultKmsKeyIdRequest'
      tags:
      - Ebs Default Kms Key Id
components:
  schemas:
    GetEbsDefaultKmsKeyIdResult:
      type: object
      properties:
        KmsKeyId:
          type: string
          description: The Amazon Resource Name (ARN) of the default KMS key for encryption by default.
    ModifyEbsDefaultKmsKeyIdResult:
      type: object
      properties:
        KmsKeyId:
          type: string
          description: The Amazon Resource Name (ARN) of the default KMS key for encryption by default.
    ResetEbsDefaultKmsKeyIdRequest:
      type: object
      properties:
        DryRun:
          type: boolean
          description: Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
    ModifyEbsDefaultKmsKeyIdRequest:
      type: object
      properties:
        KmsKeyId:
          type: string
          description: 'The identifier of the KMS key to use for Amazon EBS encryption. If this parameter is not specified, your KMS key for Amazon EBS is used. If KmsKeyId is specified, the encrypted state must be true. You can specify the KMS key using any of the following: Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. Key alias. For example, alias/ExampleAlias. Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. Amazon Web Services authenticates the KMS key asynchronously. Ther'
        DryRun:
          type: boolean
          description: Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      required:
      - KmsKeyId
    GetEbsDefaultKmsKeyIdRequest:
      type: object
      properties:
        DryRun:
          type: boolean
          description: Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
    ResetEbsDefaultKmsKeyIdResult:
      type: object
      properties:
        KmsKeyId:
          type: string
          description: The Amazon Resource Name (ARN) of the default KMS key for EBS encryption by default.
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: ec2
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/ec2/service/2016-11-15/ec2-2016-11-15.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)