APIs.io Engineering Platform AWS Identity and Access Management — #Action=EnableMFADevice

APIs.io Engineering Platform AWS Identity and Access Management — #Action=EnableMFADevice. 2 operations. Lead operation: #Action=EnableMFADevice. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering Platform#Action=EnableMFADevice

What You Can Do

GET
Getenablemfadevice — Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device is required for every subsequent login by the IAM user associated with the device.
/v1/action-enablemfadevice
POST
Postenablemfadevice — Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device is required for every subsequent login by the IAM user associated with the device.
/v1/action-enablemfadevice

MCP Tools

enables-specified-mfa-device-and

Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device is required for every subsequent login by the IAM user associated with the device.

read-only idempotent
enables-specified-mfa-device-and-2

Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device is required for every subsequent login by the IAM user associated with the device.

Capability Spec

aws-iam-action-enablemfadevice.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=EnableMFADevice'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=EnableMFADevice. 2 operations. Lead
    operation: #Action=EnableMFADevice. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - '#Action=EnableMFADevice'
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: aws-iam-action-enablemfadevice
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=EnableMFADevice business capability.
      Self-contained, no shared references.'
    resources:
    - name: '#Action=EnableMFADevice'
      path: /#Action=EnableMFADevice
      operations:
      - name: getenablemfadevice
        method: GET
        description: Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA
          device is required for every subsequent login by the IAM user associated with the device.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UserName
          in: query
          type: string
          description: <p>The name of the IAM user for whom you want to enable the MFA device.</p> <p>This parameter allows
            (through its <a href="http://wikipedia.org/wiki/regex">rege
          required: true
        - name: SerialNumber
          in: query
          type: string
          description: <p>The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number
            is the device ARN.</p> <p>This parameter allows (throug
          required: true
        - name: AuthenticationCode1
          in: query
          type: string
          description: <p>An authentication code emitted by the device. </p> <p>The format for this parameter is a string
            of six digits.</p> <important> <p>Submit your request immedia
          required: true
        - name: AuthenticationCode2
          in: query
          type: string
          description: <p>A subsequent authentication code emitted by the device.</p> <p>The format for this parameter is
            a string of six digits.</p> <important> <p>Submit your reques
          required: true
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postenablemfadevice
        method: POST
        description: Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA
          device is required for every subsequent login by the IAM user associated with the device.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: aws-iam-action-enablemfadevice-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=EnableMFADevice.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-enablemfadevice
      name: action-enablemfadevice
      description: 'REST surface for #Action=EnableMFADevice.'
      operations:
      - method: GET
        name: getenablemfadevice
        description: Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA
          device is required for every subsequent login by the IAM user associated with the device.
        call: aws-iam-action-enablemfadevice.getenablemfadevice
        with:
          UserName: rest.UserName
          SerialNumber: rest.SerialNumber
          AuthenticationCode1: rest.AuthenticationCode1
          AuthenticationCode2: rest.AuthenticationCode2
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postenablemfadevice
        description: Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA
          device is required for every subsequent login by the IAM user associated with the device.
        call: aws-iam-action-enablemfadevice.postenablemfadevice
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-enablemfadevice-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=EnableMFADevice.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: enables-specified-mfa-device-and
      description: Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device
        is required for every subsequent login by the IAM user associated with the device.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-enablemfadevice.getenablemfadevice
      with:
        UserName: tools.UserName
        SerialNumber: tools.SerialNumber
        AuthenticationCode1: tools.AuthenticationCode1
        AuthenticationCode2: tools.AuthenticationCode2
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: enables-specified-mfa-device-and-2
      description: Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device
        is required for every subsequent login by the IAM user associated with the device.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-iam-action-enablemfadevice.postenablemfadevice
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.