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

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

Run with Naftiko Engineering Platform#Action=GetContextKeysForCustomPolicy

What You Can Do

GET
Getgetcontextkeysforcustompolicy

Gets a list of all of the context keys referenced in the input policies. The policies are supplied as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role, use GetContextKeys

MCP Tools

p-gets-list-all-context-keys

Gets a list of all of the context keys referenced in the input policies. The policies are supplied as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role, use GetContextKeys

read-only idempotent
p-gets-list-all-context-keys-2

Gets a list of all of the context keys referenced in the input policies. The policies are supplied as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role, use GetContextKeys

read-only

Capability Spec

naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForCustomPolicy'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForCustomPolicy. 2
    operations. Lead operation: #Action=GetContextKeysForCustomPolicy. Self-contained Naftiko capability covering one Engineering
    Platform business surface.'
  tags:
  - Engineering Platform
  - '#Action=GetContextKeysForCustomPolicy'
  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-getcontextkeysforcustompolicy
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForCustomPolicy
      business capability. Self-contained, no shared references.'
    resources:
    - name: '#Action=GetContextKeysForCustomPolicy'
      path: /#Action=GetContextKeysForCustomPolicy
      operations:
      - name: getgetcontextkeysforcustompolicy
        method: GET
        description: <p>Gets a list of all of the context keys referenced in the input policies. The policies are supplied
          as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role,
          use <a>GetContextKeys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PolicyInputList
          in: query
          type: array
          description: '<p>A list of policies for which you want the list of context keys referenced in those policies. Each
            document is specified as a string containing the complete, '
          required: true
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postgetcontextkeysforcustompolicy
        method: POST
        description: <p>Gets a list of all of the context keys referenced in the input policies. The policies are supplied
          as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role,
          use <a>GetContextKeys
        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-getcontextkeysforcustompolicy-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForCustomPolicy.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-getcontextkeysforcustompolicy
      name: action-getcontextkeysforcustompolicy
      description: 'REST surface for #Action=GetContextKeysForCustomPolicy.'
      operations:
      - method: GET
        name: getgetcontextkeysforcustompolicy
        description: <p>Gets a list of all of the context keys referenced in the input policies. The policies are supplied
          as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role,
          use <a>GetContextKeys
        call: aws-iam-action-getcontextkeysforcustompolicy.getgetcontextkeysforcustompolicy
        with:
          PolicyInputList: rest.PolicyInputList
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postgetcontextkeysforcustompolicy
        description: <p>Gets a list of all of the context keys referenced in the input policies. The policies are supplied
          as a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role,
          use <a>GetContextKeys
        call: aws-iam-action-getcontextkeysforcustompolicy.postgetcontextkeysforcustompolicy
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-getcontextkeysforcustompolicy-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForCustomPolicy.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: p-gets-list-all-context-keys
      description: <p>Gets a list of all of the context keys referenced in the input policies. The policies are supplied as
        a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role,
        use <a>GetContextKeys
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-getcontextkeysforcustompolicy.getgetcontextkeysforcustompolicy
      with:
        PolicyInputList: tools.PolicyInputList
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: p-gets-list-all-context-keys-2
      description: <p>Gets a list of all of the context keys referenced in the input policies. The policies are supplied as
        a list of one or more strings. To get the context keys from policies associated with an IAM user, group, or role,
        use <a>GetContextKeys
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: aws-iam-action-getcontextkeysforcustompolicy.postgetcontextkeysforcustompolicy
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.