Amazon IAM Iam Server Certificate API

The Iam Server Certificate API from Amazon IAM — 6 operation(s) for iam server certificate.

GitHub OpenAPI
Business capability
Cybersecurity Management BC-620

Operations 6

POST /?Action=DeleteServerCertificate Delete Server Certificate #
POST /?Action=GetServerCertificate Get Server Certificate #
POST /?Action=ListServerCertificates List Server Certificates #
POST /?Action=TagServerCertificate Tag Server Certificate #
POST /?Action=UntagServerCertificate Untag Server Certificate #
POST /?Action=UpdateServerCertificate Update Server Certificate #

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-iam:amazon-iam-server-certificate-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-iam-server-certificate-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Identity and Access Management Server Certificate API
  version: '2010-05-08'
  description: Generated from AWS's published Smithy model for AWS Identity and Access Management. 6 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://iam.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /?Action=DeleteServerCertificate:
    post:
      operationId: DeleteServerCertificate
      summary: Delete Server Certificate
      description: Deletes the specified server certificate. For more information about working with server certificates,
        see Working with server certificates in the IAM User Guide. This topic also includes a list of Amazon Web Services
        services that can use the server certificates that you manage with IAM. If you are using a server certificate with
        Elastic Load Balancing, deleting the certificate could have implications for your application. If Elastic Load Balancing
        doesn't detect the deletion of bound certificates, it may continue to use the certificates. This could cause Elastic
        Load Balancing to stop accepting traffic. We recommend that you remove the reference to the certificate from Elastic
        Load Balancing before using this command to delete the certificate. For more information, see DeleteLoadBalancerListeners
        in the Elastic Load Balancing API Reference.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
        '409':
          description: DeleteConflictException; LimitExceededException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/DeleteConflictException'
        '404':
          description: NoSuchEntityException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/NoSuchEntityException'
        '500':
          description: ServiceFailureException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ServiceFailureException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: DeleteServerCertificate
                  Version:
                    type: string
                    const: '2010-05-08'
              - $ref: '#/components/schemas/DeleteServerCertificateRequest'
      tags:
      - Server Certificate
  /?Action=GetServerCertificate:
    post:
      operationId: GetServerCertificate
      summary: Get Server Certificate
      description: Retrieves information about the specified server certificate stored in IAM. For more information about
        working with server certificates, see Working with server certificates in the IAM User Guide. This topic includes
        a list of Amazon Web Services services that can use the server certificates that you manage with IAM.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GetServerCertificateResponse'
        '404':
          description: NoSuchEntityException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/NoSuchEntityException'
        '500':
          description: ServiceFailureException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ServiceFailureException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: GetServerCertificate
                  Version:
                    type: string
                    const: '2010-05-08'
              - $ref: '#/components/schemas/GetServerCertificateRequest'
      tags:
      - Server Certificate
  /?Action=ListServerCertificates:
    post:
      operationId: ListServerCertificates
      summary: List Server Certificates
      description: Lists the server certificates stored in IAM that have the specified path prefix. If none exist, the operation
        returns an empty list. You can paginate the results using the MaxItems and Marker parameters. For more information
        about working with server certificates, see Working with server certificates in the IAM User Guide. This topic also
        includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM. IAM
        resource-listing operations return a subset of the available attributes for the resource. For example, this operation
        does not return tags, even though they are an attribute of the returned object. To view all of the information for
        a servercertificate, see GetServerCertificate.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ListServerCertificatesResponse'
        '500':
          description: ServiceFailureException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ServiceFailureException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: ListServerCertificates
                  Version:
                    type: string
                    const: '2010-05-08'
              - $ref: '#/components/schemas/ListServerCertificatesRequest'
      tags:
      - Server Certificate
  /?Action=TagServerCertificate:
    post:
      operationId: TagServerCertificate
      summary: Tag Server Certificate
      description: 'Adds one or more tags to an IAM server certificate. If a tag with the same key name already exists, then
        that tag is overwritten with the new value. For certificates in a Region supported by Certificate Manager (ACM), we
        recommend that you don''t use IAM server certificates. Instead, use ACM to provision, manage, and deploy your server
        certificates. For more information about IAM server certificates, Working with server certificates in the IAM User
        Guide. A tag consists of a key name and an associated value. By assigning tags to your resources, you can do the following:
        Administrative grouping and discovery - Attach tags to resources to aid in organization and search. For example, you
        could search for all resources with the key name Project and the value MyImportantProject. Or search for all resources
        with the key name Cost Center and the value 41200. Access control - Include tags in IAM user-based and resource-based
        policies. You can use tags to restrict access to only a server certificate that has a specified tag attached. For
        examples of policies that show how to use tags to control access, see Control access using IAM tags in the IAM User
        Guide. Cost allocation - Use tags to hel'
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
        '409':
          description: ConcurrentModificationException; LimitExceededException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ConcurrentModificationException'
        '400':
          description: InvalidInputException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '404':
          description: NoSuchEntityException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/NoSuchEntityException'
        '500':
          description: ServiceFailureException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ServiceFailureException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: TagServerCertificate
                  Version:
                    type: string
                    const: '2010-05-08'
              - $ref: '#/components/schemas/TagServerCertificateRequest'
      tags:
      - Server Certificate
  /?Action=UntagServerCertificate:
    post:
      operationId: UntagServerCertificate
      summary: Untag Server Certificate
      description: Removes the specified tags from the IAM server certificate. For more information about tagging, see Tagging
        IAM resources in the IAM User Guide. For certificates in a Region supported by Certificate Manager (ACM), we recommend
        that you don't use IAM server certificates. Instead, use ACM to provision, manage, and deploy your server certificates.
        For more information about IAM server certificates, Working with server certificates in the IAM User Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
        '409':
          description: ConcurrentModificationException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ConcurrentModificationException'
        '400':
          description: InvalidInputException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '404':
          description: NoSuchEntityException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/NoSuchEntityException'
        '500':
          description: ServiceFailureException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ServiceFailureException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: UntagServerCertificate
                  Version:
                    type: string
                    const: '2010-05-08'
              - $ref: '#/components/schemas/UntagServerCertificateRequest'
      tags:
      - Server Certificate
  /?Action=UpdateServerCertificate:
    post:
      operationId: UpdateServerCertificate
      summary: Update Server Certificate
      description: Updates the name and/or the path of the specified server certificate stored in IAM. For more information
        about working with server certificates, see Working with server certificates in the IAM User Guide. This topic also
        includes a list of Amazon Web Services services that can use the server certificates that you manage with IAM. You
        should understand the implications of changing a server certificate's path or name. For more information, see Renaming
        a server certificate in the IAM User Guide. The person making the request (the principal), must have permission to
        change the server certificate with the old name and the new name. For example, to change the certificate named ProductionCert
        to ProdCert, the principal must have a policy that allows them to update both certificates. If the principal has permission
        to update the ProductionCert group, but not the ProdCert certificate, then the update fails. For more information
        about permissions, see Access management in the IAM User Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
        '409':
          description: EntityAlreadyExistsException; LimitExceededException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/EntityAlreadyExistsException'
        '404':
          description: NoSuchEntityException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/NoSuchEntityException'
        '500':
          description: ServiceFailureException
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ServiceFailureException'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              allOf:
              - type: object
                required:
                - Action
                - Version
                properties:
                  Action:
                    type: string
                    const: UpdateServerCertificate
                  Version:
                    type: string
                    const: '2010-05-08'
              - $ref: '#/components/schemas/UpdateServerCertificateRequest'
      tags:
      - Server Certificate
components:
  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: iam
  schemas:
    ConcurrentModificationException:
      type: object
      properties:
        message:
          type: string
    DeleteConflictException:
      type: object
      properties:
        message:
          type: string
    DeleteServerCertificateRequest:
      type: object
      properties:
        ServerCertificateName:
          type: string
          description: 'The name of the server certificate you want to delete. This parameter allows (through its regex pattern)
            a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also
            include any of the following characters: _+=,.@-'
      required:
      - ServerCertificateName
    EntityAlreadyExistsException:
      type: object
      properties:
        message:
          type: string
    GetServerCertificateRequest:
      type: object
      properties:
        ServerCertificateName:
          type: string
          description: 'The name of the server certificate you want to retrieve information about. This parameter allows (through
            its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces.
            You can also include any of the following characters: _+=,.@-'
      required:
      - ServerCertificateName
    GetServerCertificateResponse:
      type: object
      properties:
        ServerCertificate:
          $ref: '#/components/schemas/ServerCertificate'
      required:
      - ServerCertificate
    InvalidInputException:
      type: object
      properties:
        message:
          type: string
    ListServerCertificatesRequest:
      type: object
      properties:
        PathPrefix:
          type: string
          description: 'The path prefix for filtering the results. For example: /company/servercerts would get all server
            certificates for which the path starts with /company/servercerts. This parameter is optional. If it is not included,
            it defaults to a slash (/), listing all server certificates. This parameter allows (through its regex pattern)
            a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end
            with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character
            (\u007F), including most punctuation characters,'
        Marker:
          type: string
          description: Use this parameter only when paginating results and only after you receive a response indicating that
            the results are truncated. Set it to the value of the Marker element in the response that you received to indicate
            where the next call should start.
        MaxItems:
          type: integer
          description: Use this only when paginating results to indicate the maximum number of items you want in the response.
            If additional items exist beyond the maximum you specify, the IsTruncated response element is true. If you do
            not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even
            when there are more results available. In that case, the IsTruncated response element returns true, and Marker
            contains a value to include in the subsequent call that tells the service where to continue from.
    ListServerCertificatesResponse:
      type: object
      properties:
        ServerCertificateMetadataList:
          type: array
          items:
            $ref: '#/components/schemas/ServerCertificateMetadata'
          description: A list of server certificates.
        IsTruncated:
          type: boolean
          description: A flag that indicates whether there are more items to return. If your results were truncated, you can
            make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM
            might return fewer than the MaxItems number of results even when there are more results available. We recommend
            that you check IsTruncated after every call to ensure that you receive all your results.
        Marker:
          type: string
          description: When IsTruncated is true, this element is present and contains the value to use for the Marker parameter
            in a subsequent pagination request.
      required:
      - ServerCertificateMetadataList
    NoSuchEntityException:
      type: object
      properties:
        message:
          type: string
    ServerCertificate:
      type: object
      properties:
        ServerCertificateMetadata:
          $ref: '#/components/schemas/ServerCertificateMetadata'
        CertificateBody:
          type: string
          description: The contents of the public key certificate.
        CertificateChain:
          type: string
          description: The contents of the public key certificate chain.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of tags that are attached to the server certificate. For more information about tagging, see
            Tagging IAM resources in the IAM User Guide.
      required:
      - ServerCertificateMetadata
      - CertificateBody
    ServerCertificateMetadata:
      type: object
      properties:
        Path:
          type: string
          description: The path to the server certificate. For more information about paths, see IAM identifiers in the IAM
            User Guide.
        ServerCertificateName:
          type: string
          description: The name that identifies the server certificate.
        ServerCertificateId:
          type: string
          description: The stable and unique string identifying the server certificate. For more information about IDs, see
            IAM identifiers in the IAM User Guide.
        Arn:
          type: string
          description: The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and
            how to use them in policies, see IAM identifiers in the IAM User Guide.
        UploadDate:
          type: string
          format: date-time
          description: The date when the server certificate was uploaded.
        Expiration:
          type: string
          format: date-time
          description: The date on which the certificate is set to expire.
      required:
      - Path
      - ServerCertificateName
      - ServerCertificateId
      - Arn
    ServiceFailureException:
      type: object
      properties:
        message:
          type: string
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The key name that can be used to look up or retrieve the associated value. For example, Department
            or Cost Center are common choices.
        Value:
          type: string
          description: The value associated with this tag. For example, tags with a key name of Department could have values
            such as Human Resources, Accounting, and Support. Tags with a key name of Cost Center might have values that consist
            of the number associated with the different cost centers in your company. Typically, many resources have tags
            with the same key name but with different values.
      required:
      - Key
      - Value
    TagServerCertificateRequest:
      type: object
      properties:
        ServerCertificateName:
          type: string
          description: 'The name of the IAM server certificate to which you want to add tags. This parameter allows (through
            its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces.
            You can also include any of the following characters: _+=,.@-'
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The list of tags that you want to attach to the IAM server certificate. Each tag consists of a key
            name and an associated value.
      required:
      - ServerCertificateName
      - Tags
    UntagServerCertificateRequest:
      type: object
      properties:
        ServerCertificateName:
          type: string
          description: 'The name of the IAM server certificate from which you want to remove tags. This parameter allows (through
            its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces.
            You can also include any of the following characters: _+=,.@-'
        TagKeys:
          type: array
          items:
            type: string
          description: A list of key names as a simple array of strings. The tags with matching keys are removed from the
            specified IAM server certificate.
      required:
      - ServerCertificateName
      - TagKeys
    UpdateServerCertificateRequest:
      type: object
      properties:
        ServerCertificateName:
          type: string
          description: 'The name of the server certificate that you want to update. This parameter allows (through its regex
            pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You
            can also include any of the following characters: _+=,.@-'
        NewPath:
          type: string
          description: The new path for the server certificate. Include this only if you are updating the server certificate's
            path. This parameter allows (through its regex pattern) a string of characters consisting of either a forward
            slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any
            ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters,
            digits, and upper and lowercased letters.
        NewServerCertificateName:
          type: string
          description: 'The new name for the server certificate. Include this only if you are updating the server certificate''s
            name. The name of the certificate cannot contain any spaces. This parameter allows (through its regex pattern)
            a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also
            include any of the following characters: _+=,.@-'
      required:
      - ServerCertificateName
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/iam/service/2010-05-08/iam-2010-05-08.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)